R
robkiolbasa
Hello,
I am stumped on how to set a form field value to a value in a
different form. It seems like something that should be pretty easy.
Basic example below:
<form name = "form1" action = "nothing.asp" method="POST" >
<label for="fname">First Name*:</label> <input name="fname"
id="fname" />
</form>
<form name = "form2" action = "nothing.asp" method="POST" >
<label for="fname">First Name*:</label> <input name="fname" id="fname"
value = ??? />
</form>
basically, I want the fname field in form2 to be equal to the fname
field in form1, but can't find the syntax. Any help on what goes in
the value attribute for the 2nd form? Thanks in advance.
(Sorry for posting this in the javascript forum, I could not find an
html forum that looked like it had any activity. There is javascript
elsewhere in my page)
I am stumped on how to set a form field value to a value in a
different form. It seems like something that should be pretty easy.
Basic example below:
<form name = "form1" action = "nothing.asp" method="POST" >
<label for="fname">First Name*:</label> <input name="fname"
id="fname" />
</form>
<form name = "form2" action = "nothing.asp" method="POST" >
<label for="fname">First Name*:</label> <input name="fname" id="fname"
value = ??? />
</form>
basically, I want the fname field in form2 to be equal to the fname
field in form1, but can't find the syntax. Any help on what goes in
the value attribute for the 2nd form? Thanks in advance.
(Sorry for posting this in the javascript forum, I could not find an
html forum that looked like it had any activity. There is javascript
elsewhere in my page)