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" <[EMAIL PROTECTED]>
To: "Meltem Demirkus" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> 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(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
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to