I created a function using Javascript to check whether the users have entered their alias with the following code:
function Verify()
{
if (document.frmProcess1.Alias.value = ""
alert ("Please enter your alias!!!"
;
}
That mean that in my form I need to put name = "frmProcess1"
When I do that, I can't use Request.Form("Alias"
on another page because it confuses what form to choose.
Here is my code for the form:
<form action="SetupPassword3.asp" name"frmProcess1" method="post" onSubmit = "Verify()">
<table border = 0>
<tr>
<td> Alias: </td>
<td><input type="text" name = "Alias" size = "25"></td>
<td><input type = "Submit" value="Search">
</tr>
</table>
</form>
I hope what I am saying make sense. Thank you!!!
d1004
function Verify()
{
if (document.frmProcess1.Alias.value = ""
alert ("Please enter your alias!!!"
}
That mean that in my form I need to put name = "frmProcess1"
When I do that, I can't use Request.Form("Alias"
Here is my code for the form:
<form action="SetupPassword3.asp" name"frmProcess1" method="post" onSubmit = "Verify()">
<table border = 0>
<tr>
<td> Alias: </td>
<td><input type="text" name = "Alias" size = "25"></td>
<td><input type = "Submit" value="Search">
</tr>
</table>
</form>
I hope what I am saying make sense. Thank you!!!
d1004