Re: about forms with php

From: Date: Fri, 20 Sep 2002 11:58:18 +0000
Subject: Re: about forms with php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-116999@lists.php.net to get a copy of this message
but I also want to check @ and . characters.. ...checking only if the email field is empty or not is not what I want .... meltem ----- Original Message ----- From: "Ferhat Can" <ferhatc@bilgi.edu.tr> To: "Meltem Demirkus" <mdemirkus@momentum-dmt.com>; <php-general@lists.php.net> Sent: Friday, September 20, 2002 2:49 PM 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: "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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#116999) next »