Forums

Dropdown Selection With Textbox

mothy5000 19 Aug, 2014
I'm in the process of building a form that will contain a check box list. The bottom option to check will be called "Other". I'd like to have a text box where the user can enter additional information relative to this selection. I'm sure this is a common request, but I cannot find it in the forums. Can someone please point me to how to do this?

Thanks!
Tim
GreyHead 20 Aug, 2014
Hi Tim,

Add the text box and the checkbox group to your form.

In the text box make sure that it has an id set like 'other_info' and set the Load State drop-down to 'Parent Hidden'.

At this point there are two ways to go. If it is a checkbox group you are using then I think you have to use custom JavaSCript to get the box to work correctly.

If it is a radio button group or a select-dropdown then you can use the built in events handler like this*:

In the CheckBox Group click the Events tab, Click Add Event and then set them up as in the image below!

Bob

* With a Checkbox group it only works if the Other box is the only one selected :-(
mothy5000 23 Aug, 2014
Thanks for your help. The form has to have a checkbox group so I decided to just add a textarea under the checkbox group with the label "If Other, then please specify". This should be ok.

Thanks again!
Tim
This topic is locked and no more replies can be posted.