setting a relationship between 4 buttons
I need to allow only 1 of 4 buttons to have an entry at a time. I am OK using either radio or checkbox buttons.
Radio buttons are design to permit only selecting a single value for a field. Is this what you need? You may need to explain what you have in more detail.
I am not sure how I need to set this up...a script?
We are new to FM and changing our customer contact pages
It depends on what you need to do.
What is the function of these 4 buttons? What is supposed to happen when one is clicked? Is this a case where you have four values such as:
apple, Orange, tomatoe, onion and clicking one enters the value associated with that button into the field? If so, a value list and a radio button format on your field is the simplest way to go.
If you want some other action to take place when one of these buttons are clicked, (a color changes, a picture appears, a new record is created, the user sees a new layout or a new window pops up....) then you may need a script.
Please describe in detail exactly what you need to take place when one of these buttons is clicked.
Attached photo is what i am trying to do
Open manage | value lists and create a new value list wtih Net 10, Net 15, Net 30 and Prepay as the four values in the value list.
Define a text field in your table and add it to your layout.
Use the data tab on the Inspector to select radio buttons as the field format and select the value list you created as the list of values to be used with that field.
resize and position the field to get the single column vertical list of radio buttons shown in your screen shot.
I think have done all those things and the photo is what I have....I created the value list, set the field formats to radio or checkbox (I'm trying both in case only one will do what I want) and selected that value list for that field
I did not reposition the fields to get a single vertical list of buttons...would that cause them to work together?
the buttons all work...I can put an X or fill in the box.... but I want only one of the buttons to work at a time...right now I can put an Xs or a fill in the radio button in all of the categories at the same time.... I want it to be that I can only fill ONE of the boxes at a time...that when I fill or X one box, the other box(es) automatically UNfill.
The difference between what you have done and I have done is that I am describing using a single value list with a single field.
If you set up a single field with the radio button format, you can list mutiple radio buttons each with their own value but the interface will only allow the user to select one value. Clicking a second radio button will clear the previously selected value.
You are right! Thank you!
I did have a single value list with the 4 values at one time... but did not have the box expanded enough so that it would show 4 buttons.
This is a interesting thread. Can I click on one of the buttons and have 3 additional buttons show up?
With some script supported layout sleight of hand, it's possible to do that, but not as a built in feature of a radio button format.
You can use an invisible tab control and a script trigger such that clicking radio button performs a script that checks the value of the field. If it's the value of the specified radio button, it manipulates the tab control to reveal the additional choices.
Such a script could also switch layouts to a layout that is a duplicate of the first layout except for the expanded radio button field.
Such a script could also pop up a small floating window as a dialog box for making the additional selections.
Thanks. I will prefer the 1st option if possible. Since I am new to FM, Is there training available for this?
I don't have any links to tutorials specific to that technique, but I do have a download link for a demo file that demonstrates that technique amongst others:
Retrieving data ...