Hello Stephen,
You say then hit the Sign, dammit! button, and in your script you
have ...if ($submit == Sign!)
Obviously, the problem is that else block is executed instead of
if. It's better to use some other variable to check whether the form
is filled or not, something like
This may help you.
//createenrty.php
script language=javascript
function funsubmit()
{
..
return true/false based on input checks
}
form.. onsubmit='return funsubmit()' .. action=nextpage.php
...
input type=submit name=submit value=Sign dammit
/form
2 matches
Mail list logo