> -----Original Message-----
> From: Meltem Demirkus [mailto:[EMAIL PROTECTED]]
> Sent: 20 September 2002 13:03
> by the way If I remove  return false .. script is checking 
> the correctness
> but just after it is going to the page  "sign_up_ page .php 
> "..I just want
> it to go to the page when the email is correct ..
> Is it possible to manage ?

Two options:

(1) Leave your onSubmit as is, and put a form.submit in the checkemail
function once you've "validated" the address.

(2) Change the onSubmit to onSubmit="return checkemail(email.value)" and
have checkemail return true or return false according as it does or doesn't
"validate" the email.value passed.



Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to