Re: Validating forms
| From: | B. van Ouwerkerk | Date: | Tue, 03 Apr 2001 12:23:15 +0000 |
| Subject: | Re: Validating forms | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8178@lists.php.net to get a copy of this message | ||
It is much more efficient to do that type of validation client-side, using Javascript. No sense in making another round trip to the server if not necessary.True.. but this only works if your visitor has javascript enabled.. the biggest avantage in serverside scripting IMHO is you can forse things to happen.. Besides, a visitor with a rather old browser might get bombed with javascript errors.. An if .. then loop will do the same.... but.. serverside. Bye, B.