-
nickbhAsked on September 18, 2015 at 11:14 AM
Can you change Values in a Dropdown list dynamically through conditional logic?
Ie if I have a radio button - eg Male or Female.
My Dropdown may contain
*Mens Shirts
*Mens Trousers
*Ladies Dress
If the radio button was sleected to Male I would only want the dropdown to remove Ladies Dress from the selection?
Not sure if its possible - but worth asking.
Thanks
-
victorReplied on September 18, 2015 at 1:59 PM
Hi,
This can be accomplished by having a different dropdown for each selection. Then using the SHOW/HIDE condition, you may show just the dopdown you like.
Please let us know if this helps.
Regards
-
nickbhReplied on September 19, 2015 at 6:59 AM
Hi,
Yes I thought about that way. But it wouldn't really work in the live situation I am looking at. Essentially it is related to one of my other posts.
I have a large list of locations - a PICKUP LOCATION and a DROP OFF LOCATION. I was looking to see if there was a a way to remove the selection made in the pickup dropdown from the dropoff dropdown.
Its not a problem that the feature is not available as I can trap the duplicate by using the conditional logic calculation offered by one of your colleagues.
Thanks
-
BenReplied on September 20, 2015 at 2:40 AM
I am glad to hear that the option to check the values in dropdown works for you so that this is not needed any more, since the only way to accomplish this would be as my colleague had suggested it - at least through the Form Builder.
It would be possible to do this through the source code modifications - but you would need to create the js code that does this, plus to re-integrate your changes each time you make a change to your form.