Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7929 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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 !

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.