Chronoforms V6 - Hiding and showing a text box based on a certain value in a dropdown

Show a custom text field when 'Other' is selected in a dropdown.

Overview

The form needs to display an additional text input only when a specific 'Other' option is chosen from a dropdown list.
Use the dropdown's Events tab to set actions that show and enable the text field when 'Other' is selected, and hide it otherwise.

Answered
ChronoForms v6
ft ftpaul 14 Jul, 2017
I want to have a dropdown selection that has a pretty extensive option set, but if the user using the form doesn't find an option that fits what they wish to select then I want to have an "other" option in the dropdown.

When the user selects the "other" option in the dropdown, I want to show a new textbox field where that user can enter a more descriptive choice that didn't show as an option in the dropdown list itself.

Is there any way to do this in Chronoforms v6?
he healyhatman 15 Jul, 2017
Answer
1 Likes
Say you have a dropdown where you have the Options as
b=Blue
g=Green
other=Some other colour


On the dropdown, go to the Events tab.

ON: selecting
Value: other
Actions: Show, Enable, Enable verification
Element identifier: the name of the textbox you want to show

and add
ON: not selecting
Value: other
Actions: Hide, Disable, Disable verification
Element identifier: the name of the textbox you want to show
ft ftpaul 18 Jul, 2017
Thank you! Worked like a charm!
This topic is locked and no more replies can be posted.