Re: simple form validation
| From: | Manuel Lemos | Date: | Sun, 10 Dec 2000 06:26:33 +0000 |
| Subject: | Re: simple form validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29543@lists.php.net to get a copy of this message | ||
Hello Jacky,
On 04-Dec-00 05:39:51, you wrote:
>Hi all,
>I know this is perhaps very simple thing but would be pleased if anyone can
>give me teh straight forward way. I need to validate a form that not allowed
>the form to be submitted if there is any field left blank. I would like to
>use javascript if that is possible. But I get confused with how could I embed
>javascript to validate the form as I am more familiar with ASP than PhP.
It's the same in PHP or ASP.
Anyway, you may look into this PHP class that generates and validates forms
either on the client side generating the correspondent Javascript code or
in the server side using the class PHP code.
http://phpclasses.UpperDesign.com/browse.html/package/1
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--