How to create dynamic textfield based on radio button's input

Posted by qdog on Stack Overflow See other posts from Stack Overflow or by qdog
Published on 2010-05-13T22:26:18Z Indexed on 2010/05/13 22:34 UTC
Read the original article Hit count: 184

Filed under:
|
|

I am trying to get a form's textfield to dynamically appear based on a radio checkbox selection.

For example, on my form...there is a radio button that ask "Do you want to enter your age?" with an option to check YES or NO. If the user check YES, a textfield dynamically appear after this so the the user can enter his or her age. If user check NO, then nothing happen.

How do I begin to do something like this? Just looking for any feedback I can get. Thanks!

© Stack Overflow or respective owner

Related posts about textfield

Related posts about dynamic