Page 1 of 1

Show content after button is pressed and chk box is checked

Posted: Fri Mar 05, 2010 9:43 am
by nite4000
Hey

I am trying to get a form to work where the user has to check a check box and press submit and everything. I have that part working. I need help to once the button is click to show other content on the same page otherwise it hides it until they check and press the button.

Thanks

Re: Show content after button is pressed and chk box is checked

Posted: Fri Mar 05, 2010 12:49 pm
by davex
Hi,

Sounds like what you're actually after is a JavaScript function that can show content when the button is clicked.

Try googling for something like "show or hide div javascript" - there are plenty of examples on how to do this, usually by manipulating the display CSS property.

Cheers,

Dave.