Re: simple form validation
| From: | jeremy brand | Date: | Mon, 04 Dec 2000 08:46:19 +0000 |
| Subject: | Re: simple form validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28544@lists.php.net to get a copy of this message | ||
You should write a form checker, that being the page that you post to,
that checks all submitted values to be what you expect, else bounce
back to the form.
DO NOT rely on JavaScript. (Do not rely on any client side method for
that matter).
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
Get your own Free, Private email at http://www.smackdown.com/
---- "World domination through Yahoo Replication" ----
---- -Liz Patterson http://www.geekchix.com
----
On Mon, 4 Dec 2000, Jacky wrote:
> Date: Mon, 4 Dec 2000 15:38:03 -0600
> From: Jacky <jacky@activelifestyle.com>
> To: php-general@lists.php.net
> Subject: [PHP] simple form validation
>
> 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.
> Jack
> jacky@activelifestyle.com
> "Power is nothing without control
>