Hi I have noticed that the contact form rejects some of the new domain names e.g .company etc are there plans to address this? or disable the element that prevents an email being sent if the domain isnt recognised?
Hey KeithDuddy!
For a quick fix open up wp-content/themes/enfold/js/shortcodes.js and replace:
if(!value.match(/^\w[\w|\.|\-]+@\w[\w|\.|\-]*\.[a-zA-Z]{2,4}$/))
with
if(!value.match(/^\w[\w|\.|\-]+@\w[\w|\.|\-]*\.[a-zA-Z]{2,}$/))
I’ll ask Kriesi to change the validation code with the next update or to comment on this thread if he doesn’t want to change it.
Cheers!
Peter