June 25, 2020 at 6:02 am
#10033577
Keymaster
Hello,
Great!
Try the following:
First change the code of “No White Space” rule at “view.contact.js” to:
// No White Space
$.validator.addMethod("noSpace", function(value, element) {
console.log( $(element).attr('data-plugin-multiselect') );
if( $(element).attr('required') && typeof $(element).attr('data-plugin-multiselect') == 'undefined' ) {
return value.search(/[a-zA-Z0-9À-žа-яА-ЯёЁα-ωΑ-Ω\s\u0621-\u064A\u0660-\u0669 ]/i) == 0;
}
return true;
}, 'Please fill this empty field.');
Add the ignore option in the recaptcha v3 code:
/*
Contact Form: reCaptcha v3
*/
$('.contact-form-recaptcha-v3').each(function(){
$(this).validate({
ignore: [],
rules: {
creditcard: {
..
....
....
Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with EZY HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads