Jan 16th, 2010, 11:45 AM
Hey bvdveen,
For something custom like this, you'll definitely need to look into the custom function option. What that does is let you supplement the existing validation rules (required, valid email, is numeric, etc.) with your own custom ones. Check out the "custom validation rules" link on the top right of this page:
http://www.benjaminkeen.com/software/rsv/standalone/
Basically it works by adding a rule like so:
Then writing your own function that would do the manual labour of figuring out what was valid and what wasn't:
The return values of that function need to be a particular format, as is described in that page above.
Hope this at least gets you on the right track...!
- Ben
For something custom like this, you'll definitely need to look into the custom function option. What that does is let you supplement the existing validation rules (required, valid email, is numeric, etc.) with your own custom ones. Check out the "custom validation rules" link on the top right of this page:
http://www.benjaminkeen.com/software/rsv/standalone/
Basically it works by adding a rule like so:
Code:
rules.push("function,check_times");
Then writing your own function that would do the manual labour of figuring out what was valid and what wasn't:
Code:
function check_times() {
// do stuff here
}
The return values of that function need to be a particular format, as is described in that page above.
Hope this at least gets you on the right track...!
- Ben