View previous topic :: View next topic
|
Author |
Message |
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
hi,
I want to design a panel in the below mentioned way.
It will take four inputs. username, place, feature1, feature2.
When the place is US, all the features can be accessile.
When the place is other than US, the feature1 should not be accessed.
That is the user should not be able to enter any value in the panel for that feature.
Whether this type of locking an input variable can be done in panels. If so, please let me know how to do that.
Thanks,
Bala |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Use a variable for the ATTR definition for the "feature1" field, such as:
)ATTR
* TYPE(TEXT) INTENS(HIGH) COLOR(WHITE) CAPS(OFF)
_ TYPE(&TYP) INTENS(LOW) SKIP(ON)
...
)BODY
...
Then TYP can be set to INPUT or OUTPUT depending on the value for "place". |
|
Back to top |
|
|
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
Thanks Kevin:-) I will try this and let you know the result.
Bala. |
|
Back to top |
|
|
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
Hi Kevin,
The method you suggested to lock the input field is working fine. Thanks for your suggestion:-) |
|
Back to top |
|
|
|