Topic: using a checkbox to trigger jquery - is this possible

could jquery be used to show xtra fields on  a form when a checkbox is ticked?

i want to display part of a form only if a checkbox is ticked.
does anybody know if this is possible. If so, how would i go about implementing this. I have looked thru hundreds of jquery tutorials but unable to find one...please help!

Re: using a checkbox to trigger jquery - is this possible

it doesnt even need to be a checkbox - it could be a select field where one of the options reveals the extended part of the form. is this possible?

Re: using a checkbox to trigger jquery - is this possible

Sorry, I don't have an answer.  Hopefully, somebody else will, but posting the same question 5 times is NOT going to get it answered any faster.

Re: using a checkbox to trigger jquery - is this possible

You can check if a checkbox has been checked by using this code: http://requiem4adream.wordpress.com/200 … ng-jquery/

If that returns true (the checkbox is checked) using use jquery to show a div that includes all of the extra form elements you want to show.