tawatana Posted April 4, 2003 Posted April 4, 2003 hi, i was wondering how i could disable a field by having the user select a radio button option. For example, i'd like to have a group name field and individual name fields. There is a radio button group with the options being either group or individual. If the user selects the group radio button then the individual name fields are disabled and vice versa. Thanks Brian
Pupiweb Posted April 4, 2003 Posted April 4, 2003 The most elegant way of doing this is usinmg the so-called "visibility" trick (look for such a file at http://www.databasepros.com) Basically: You have a RecordID field, unique Create a calc field Case (RadioButton = "Individual", RecordID) In plain english: if the user chooses "Individual" in the radio button field return the RecordID, else nothing relate the calc field to RecordID in the same file Place a one line portal of this relationship in the layout and put the Individual names field in it In action: when the use selects Individual in the radio button field the self relationship is valid, and the Individual names field appears on the layout, otherwise the field is simply absent from the layout Great interface technique !
tawatana Posted April 8, 2003 Author Posted April 8, 2003 cheers mate! you've helped to open up a whole new world.
Recommended Posts
This topic is 7929 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now