Really Simple Validation (RSV) is submitted!
Your script is now in the approval queue. After a quick review we will notify you of the script's status by email. If everything's alright, we'll publish your work to the site and rss feed. Otherwise, we'll send you the email explaining what seems questionable. In that case, reply to the email whenever we should review the script again.
Also, don't hesitate to discuss things if you feel that our reasons are unfair. We are real folk, and we don't like bureaucracy. : )
Thank you for your contribution!
1
Really Simple Validation (RSV)
Edit script
This small but powerful script lets you add javascript validation to your forms quickly and with very little effort. No programming experience is necessary, but it's fully extensible to allow programmers to augment the built-in validation rules with their own.
RSV comes in three flavours: as a standalone script, as a jQuery plugin and as a Prototype extension. All of the versions offer the same functionality, but I've separated the documentation and examples into sections to keep things clear. If you're unfamiliar with jQuery or Prototype you'll probably want to use the standalone script.
The script offers all the common validation routines offered by other validation scripts, but more importantly it supports "fringe" cases very well, with features such as:
- It allows you to apply multiple validation rules to the same field
- Allows for simple conditional logic (if field A == something, validation fields B, C and D)
- You can make up your own validation rules
- You can display the errors in literally any way you want, with 3 built-in standard ways to present them and the option to pass the errors to a custom error handler
- Lets you pass off control flow to your own onCompleteHandler function
- There's a PHP sister script available. You can literally copy & paste your validation rules to a PHP file to get server-side validation.
- Website:
-
Really Simple Validation (RSV)
- Author:
-
Ben Keen
- Size:
- 12 KB
- Last modified:
- 05/18/2008
- License:
-
GPL
- Tags:
- form, validation
- Rating:
-
3
(3/5 from 2 votes)
- Your rating:
-
0
Not yet rated
- Please sign in or register to rate this script
- You can't rate your own script.