Hi,
Is it possible to get the page1's form values to page2. I know about submit button and submit function but when I am trying to get the values in page 2 with the help of Request.form("F ieldName") it gives me error: Request is undefined.
Can anyone help me with this.
My code is something like this:
Page1:
in html:
[HTML]<INPUT id="FieldName" maxLength="35" name="FieldName ">
<input id="Button1" onclick="javasc ript:Submit()" type="button" value="Continue " name="Button1">
[/HTML]
the javascript function is:
[CODE=javascript]function Submit() {
document.forms[0].submit();
window.location .href = "page2.aspx "
}
[/CODE]
Page2:
vbscript:
x = Request.Form("F ieldName")
Thanks.
Is it possible to get the page1's form values to page2. I know about submit button and submit function but when I am trying to get the values in page 2 with the help of Request.form("F ieldName") it gives me error: Request is undefined.
Can anyone help me with this.
My code is something like this:
Page1:
in html:
[HTML]<INPUT id="FieldName" maxLength="35" name="FieldName ">
<input id="Button1" onclick="javasc ript:Submit()" type="button" value="Continue " name="Button1">
[/HTML]
the javascript function is:
[CODE=javascript]function Submit() {
document.forms[0].submit();
window.location .href = "page2.aspx "
}
[/CODE]
Page2:
vbscript:
x = Request.Form("F ieldName")
Thanks.
Comment