Form Validation Techniques
Moderator: General Moderators
-
php_wiz_kid
- Forum Contributor
- Posts: 181
- Joined: Tue Jun 24, 2003 7:33 pm
Form Validation Techniques
I was just wanting to see how you guys validate your forms. The way I do it just seems to take up way too much space and makes things complicated. I'm just looking for opinions. Thanks everyone.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Most of my forms fall into fairly regular categories (the controls anyways) .. so I have a bunch of control-type-to-validator mappings which are automatically taken care of when a submission happens. This is all done in a central script (99.999% of the time) that then shunts to whatever script the submission was intended for.
-
php_wiz_kid
- Forum Contributor
- Posts: 181
- Joined: Tue Jun 24, 2003 7:33 pm