Since you place return false in the onSubmit code, you cannot submit the
form to the next page. What you need to do is that check if the email field
is empty, if yes return false; if not return true.
----- Original Message -----
From: "Meltem Demirkus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 2:44 PM
Subject: [PHP] about forms with php
> I want to learn if anyone tried to use both of javasccript and php
> ?Because when I tried to use them like this:
> <form name="sign" method="POST" action="sign_up_.php"
> onSubmit="checkemail(email.value);return false" >
> sign_up_ page ......How can I manage it?..
> thanks alot..
> written correctly ( '@' ...)..
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php