Forums

New form elements displayed on basis of radio select?

chumby 02 Aug, 2010
Hi there,

I would like to set up a form which has a Yes / No radio selection option.

If Yes is selected, I would like another three required textfields to appear.

If No is selected the user would just go on.

Is this possible?

Cheers
Chumby
GreyHead 02 Aug, 2010
Hi Chumby,

Yes that's possible, needs JavaScript to make it work and has some potential problems in managing validation. There are several threads here about this.

Bob
chumby 02 Aug, 2010
Thanks Bob...

Had a search but couldn't seem to come up with anything conclusive...

Do you know of any of the thread names?

Cheers
Chumby
chumby 03 Aug, 2010
Anyone ... cant seem to find anything with the search.

Cheers
Chumby
GreyHead 03 Aug, 2010
Hi Chumby,

Try this and the other posts in the thread. (old post so may need updating)

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