You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the funcCall function. But the error message did not appear even after clicking "submit" button. The error messages for other fields are populated except that file input field.
function checkQualification(field, rules, i, options) {
alert("success");
return "Testing";
}
I used "alert" to test if the function is being called.
The text was updated successfully, but these errors were encountered:
Yes this seems to be an issue as you have to use it with required, like: validate[required,funcCall[checkQualification]].
The work around is to use rules.push("required"). Try this:
function checkQualification(field, rules, i, options) {
rules.push('required');
}
Hi patremb! Thanks for the prompt response. Now it works. But I don't want it to be a required field. I need it to work like "groupRequired". However, groupRequired seems to have problems with file input form field (together with dropdown list). and prompt doesn't disappear after user filled up one of the inputs.
I'm using the funcCall function. But the error message did not appear even after clicking "submit" button. The error messages for other fields are populated except that file input field.
function checkQualification(field, rules, i, options) {
alert("success");
return "Testing";
}
I used "alert" to test if the function is being called.
The text was updated successfully, but these errors were encountered: