RE: [PHP] Re: your method for validating forms

From: Date: Thu, 02 Oct 2003 19:20:19 +0000
Subject: RE: [PHP] Re: your method for validating forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164812@lists.php.net to get a copy of this message
--- Chris W. Parker wrote: > I went to an ecom site today that used js validation but in a very > slick way. There were no popups to be seen. Instead, when I tried to > add a product to my cart without specifying some attributes a little > red message magically appeared on the page that said "Please choose > a color". That sounds much more professional. I would love to see some example code to help me eliminate my natural anti-JavaScript prejudice. If it could actually be as flexible and professional as server-side data filtering, I would definitely be interested in learning more. Of course, I would never suggest replacing server-side data filtering, but I wouldn't mind saving that little bit of extra HTTP traffic for the legitimate users. Show me the code! :-) Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.general (#164812) next »