Meltem Demirkus wrote:
?Because when I tried to use them like this:
form name=sign method=POST action=sign_up_.php
onSubmit=checkemail(email.value);return false
and when I click submit.. javascript is working but it is not going to the
sign_up_ page ..How can I manage it?..
Or simply
Hi Meltem,
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:
Subject: Re: [PHP] about forms with php
Hi Meltem,
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
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 ?
meltem
- Original Message -
From: Jon Haworth [EMAIL PROTECTED]
Hi,
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 ?
Yes. You need to have the return true or return false in
-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
6 matches
Mail list logo