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,
I want to learn if anyone tried to use both of javasccript and php together
?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
Hi,
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 ..
It's because of the return false: that means after running the checkemail
function, cancel the
]
To: [EMAIL PROTECTED]
Sent: Friday, September 20, 2002 2:44 PM
Subject: [PHP] about forms with php
Hi,
I want to learn if anyone tried to use both of javasccript and php
together
?Because when I tried to use them like this:
form name=sign method=POST action=sign_up_.php
onSubmit=checkemail
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
]
To: [EMAIL PROTECTED]
Sent: Friday, September 20, 2002 2:48 PM
Subject: FW: [PHP] about forms with php
Hi,
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_
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
8 matches
Mail list logo