Re: [PHP] about forms with php

2002-09-21 Thread Chris Hewitt
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

[PHP] about forms with php

2002-09-20 Thread Meltem Demirkus
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

FW: [PHP] about forms with php

2002-09-20 Thread Jon Haworth
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

Re: [PHP] about forms with php

2002-09-20 Thread Ferhat Can
] 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

Re: [PHP] about forms with php

2002-09-20 Thread Meltem Demirkus
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

Re: [PHP] about forms with php

2002-09-20 Thread Meltem Demirkus
] 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_

RE: [PHP] about forms with php

2002-09-20 Thread Jon Haworth
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

RE: [PHP] about forms with php

2002-09-20 Thread Ford, Mike [LSS]
-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