Re: about forms with php

From: Date: Fri, 20 Sep 2002 11:49:13 +0000
Subject: Re: about forms with php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116996@lists.php.net to get a copy of this message
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" <mdemirkus@momentum-dmt.com> To: <php-general@lists.php.net> 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(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?.. > > thanks alot.. > by the way , by using javascript , I am checking if the email adress are > written correctly ( '@' ...).. > > thanks > > > meltem > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#116996) next »