We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Rick Harrison,
Thanks for your validate.js library. It helped us a lot.
And here is my issue: I need to check multi fields for each other:
Ex: min & max fields. check_minmax(min, max) { return (min < max); }
But your callback register only allows 1 parameter.
I want to be able to call back like
validator.registerCallback('check_minmax', function(value1, value2) { return (value1 < value2); });
Can you extend the validate.js so that someone has a way to register multi fields check.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello, thanks for the suggestion. If you could try adding this and submit a pull request, it would be much appreciated!
Sorry, something went wrong.
No branches or pull requests
Hi Rick Harrison,
Thanks for your validate.js library. It helped us a lot.
And here is my issue: I need to check multi fields for each other:
Ex: min & max fields.
check_minmax(min, max) {
return (min < max);
}
But your callback register only allows 1 parameter.
I want to be able to call back like
validator.registerCallback('check_minmax', function(value1, value2) {
return (value1 < value2);
});
Can you extend the validate.js so that someone has a way to register multi fields check.
Thank you!
The text was updated successfully, but these errors were encountered: