Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rick 92 posts 278 karma points
    Jan 15, 2014 @ 14:28
    Rick
    0

    jQuery error with Regex

    Hi,

    I have Contour 1.1.12 (userControl) installed on my instance of Umbraco 4.11.5 (the version of Umbraco has been updated since the original build - however Contour wasn't).

    I have email regex on a textfield (there are no other fields on my form).

    On the page itself, I am getting a console error without any form submission (just on page load):

    "Uncaught TypeError: Object [object Array] has no method 'each'"

    The version of jQuery I have installed is 1.7.2 and this is referenced at the bottom of my main masterpage.

    I am 100% sure it is something to do with regex because if I remove the regex from the field - the console error disappears. It is quite frustrating as there are other things on the page that rely on jQuery to work which obviously are now broken.

    Does anyone have any suggestions as to what it could be?

    Many thanks in advance,

    Rick

Please Sign in or register to post replies

Write your reply to:

Draft