jquery hide certain form elements untill a certain textfield has been populated?

Posted by Rubytastic on Stack Overflow See other posts from Stack Overflow or by Rubytastic
Published on 2012-03-29T11:19:34Z Indexed on 2012/03/29 11:29 UTC
Read the original article Hit count: 258

Filed under:
|
|
|

I have a long signup form and would like to hide a few fields and only show them when a certain input field is populated with text, if the user types some text in this field the other form fields will show.

I have looked at hide and show divs but have some trouble getting form elements hide and show them on a certain trigger ( populating a form with text )

anyone can point me in the right direction on how to implement such feature in query ? thx in advanche!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about forms