Dropdown with multiple text boxes.

NickZorz 09 Dec, 2013
Hi there,

I'm using the very nice form creator from ChronoEngine, but i have a question.

In my form i have a dropdown box with 5 categories. And each catagory has some specific text fields.

so i have some standard text fields that apply to all, but some text boxes that only have to appear with different choosings from the dropdown.

So what i am looking for is how do create that. When i pick f.e A in the dropdown some text boxes appear. And when i choose B in the dropdown that specific text boxes appear for that?

Kind regards

Nicky Smits
NickZorz 09 Dec, 2013
Aw really?

I think thats to high of a difficulty for me. Could you guide me a little bit? Or have some documentation about it?

Kind regards.
rxla1 11 Dec, 2013
Hi there, I am looking for the same answer but I agree, I need some help. So I am using Joomla 2.5, if I search for Mootools you believe this will give me the results I need? I have tried this without much success. Any other suggestions? Thanks for your assistance!
NickZorz 12 Dec, 2013
To bad. No little push in the right direction. The great idea of chronforms is that a n00b can manage it.
GreyHead 12 Dec, 2013
HI,

Please see this FAQ which has the code to start out with. It's only written to show one input when a particular option is selected but you can use the same idea for as many inputs as you like and for different option selections.

Bob
NickZorz 16 Dec, 2013
Dear Bob,

This is not exactly what i meant and doesn't work either?

If i select A in dropdown box, i want text box 1,2,3 to show up
If i select B in dropdown box, i want text box 2,3,5 etc to show up
If i select C in dropdown box, i want text box 1,4,6 to show up

hope you can help!!

Greetings.
GreyHead 16 Dec, 2013
Hi NickZorz,

Ad I said, the FAQ gives you a place to start. You may find some other examples in the forums if you search for them.

Bob
This topic is locked and no more replies can be posted.