View Full Version : onclick form field (hidden div)

01-19-2012, 07:28 PM
I need when I click to type into a form field, I need an onclick event to show another form field. I would assume this would be a hiddin div or an on click event to post another form field.

So in theory just because I actually clicked into one form field...another form field shows up underneath it...can anyone help...

01-19-2012, 07:51 PM
like so?

<input type="text" onfocus="this.form.box2.style.visibility='visible'"><br>
<input type="text" name="box2" style="visibility:hidden">

01-19-2012, 08:03 PM
Perfect! Thank you....