Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #302034

    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?

    #302046

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.