Click to See Complete Forum and Search --> : not sure if you can do this


jdinze
08-21-2006, 04:31 PM
i have an online form. in the form there is one hidden tag:
<input type="hidden" name="oid" value="somevalue" />

and one text input tag:
<input type="text" name="first_name" />

how do i get the value of the hidden tag to be the same as the value that gets inputed into the text tag? essentially this should happen when the person hits submit right? should i use java, php, or what? im new to this, so any help would be appreciated.

jdinze

ray326
08-21-2006, 05:05 PM
You either do it in Javascript in an onsubmit handler or you ignore the hidden field and just use the text field on the server.