I've been looking around at some of the form validation library's built on different frameworks and was wondering what everyone is using.
Ive tried a few but some seem overly complicated and some don't seem to quite live up to the hype.
Recommend a javascript form validator
Moderator: General Moderators
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
Yep, i used to be like that, but things start getting tricky when in the same form you have multiple file upload forms.
Say the user has to select 5 files to upload, then submit the form for the fields to be checked, if there are any errors with any of the non-file fields, and the form is redisplayed, the user needs to select the files again (unless the files are uploaded and saved even if an error occurs).
I just think it leads to a better user experience by having JS validation coupled with PHP validation
Say the user has to select 5 files to upload, then submit the form for the fields to be checked, if there are any errors with any of the non-file fields, and the form is redisplayed, the user needs to select the files again (unless the files are uploaded and saved even if an error occurs).
I just think it leads to a better user experience by having JS validation coupled with PHP validation
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany