Validate : validate form when number is exactly between two values
Hello,
I use plugin validate (http://bassistance.de/jquery-plugins/jquery-plugin-validation/), wonderful and powerful !
I'd like to validate a form only if a value is a number between two values. For example value foo must be more than 24 and less than 29 .
I know this:
Code :
rules: {
foo: { required:true, number:true, equal:25}
}
But how can I test that : 24 < foo < 29 ?
Thanks very much in advance.