Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've been trying to add custom validation to contour.js
here is my input field with the attribute data-val-matchemail
<input type="text" name="5621755b-8bab-4a19-8c68-bf35860062fe" id="5621755b-8bab-4a19-8c68-bf35860062fe" class="text" value="" data-val-matchemail="email" maxlength="500">
and my custom rules in contour.js. My issue is that it is not firing
$.validator.addMethod('contour_matchemail', function (value, element) { console.log("contour_matchemail"); return valid; }); $.validator.unobtrusive.adapters.addBool("matchemail", "contour_matchemail");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Adding custom validation rules to unobtrusive.min.js
I've been trying to add custom validation to contour.js
here is my input field with the attribute data-val-matchemail
and my custom rules in contour.js. My issue is that it is not firing
is working on a reply...