Protour Travel Posted March 2, 2011 Posted March 2, 2011 In the image below there are two CommNonComm fields. The one at the top is a standard text field. The one below it is actually 2 fields set up as one item radio buttons. Each one of these activates a different script trigger. As you can see, both comm and noncomm are highlighted. This could create confusion among employees. What I would like to do is place the upper (text) field over the lower fields but I need for the script triggers to activate when I make a selection. Is there any way for FMP to see-thru the upper field yet still show a selection? Or, is there any way to divide the upper field into two parts so whichever is selected performs the proper script? If you suggest an If function, please be detailed. I have yet to figure those out. As always, many thanks, Charlie
comment Posted March 2, 2011 Posted March 2, 2011 2 fields set up as one item radio buttons. Not sure what that means.
bruceR Posted March 2, 2011 Posted March 2, 2011 I think a one item radio button is a field set up as a radio button where the value list only contains a single value.
Protour Travel Posted March 2, 2011 Author Posted March 2, 2011 Not sure what that means. Let me try to explain. I had read in another post where a user wanted to apply a sales tax to some purchases but not others. He only had one option, to tax or not to tax, so he set the field up as a radio button using a value list with only one option (tax). If he clicked the radio button it applied the tax to the sale. The lone radio button was highlighted so he knew whether the customer had paid a tax or not. I was basically trying to do the same thing so I created two text fields with each having a one item value list (one commissioned and the other non-commissioned). My intention was to make these fields small enough to hide behind the radio buttons of the text (lower) field so when you clicked the appropriate button it would trigger the script in the hidden field. (I had used this trick when I placed a mask over my phone number fields so I could enter 8005551212 and it would display as (800)555-1212. As you know, to make this work, you have to make the mask field unavailable for entry.) This worked fine except that when I selected the radio button it didn't highlight my selection so accounting would know how to get paid. Commission or Direct Bill. I moved the text only field out of the way and clicked on each of the value-listed fields. Each did just as they were designed and ran the appropriate script(s). All was perfect except that now both (single) radio buttons are highlighted and accounting thinks we are making twice as much money. Let me add that when I first did this, the hidden fields did not contain value lists. They contained nothing and were used only as triggers. I placed the value lists in there later. Hope this helps...
Recommended Posts
This topic is 5014 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