Copied to clipboard

Flag this post as spam?

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


  • Esben Sune Rasmussen 3 posts 23 karma points
    May 28, 2013 @ 14:24
    Esben Sune Rasmussen
    0

    Validation mandatory/regex issue

    Hi there,

    We have bought Contour for our site (running Umbraco 4.9.1) and have now started to install Contour on our stage environment.

    A problem occured when we tested a form with validation. 

    When we create a form with more than one mandatory field, or more than one field with regex validation, then there is a javascript error (chrome stacktrace at bottom).

    I do not know if this is the problem but it seems that the id of the mandatory/regex elements are the same for each of the input elements: 

    <span id="mandatory" class="contourError" style="display:none;">Name is mandatory</span> 

    <span id="regex" class="contourError" style="display:none;">Name is not valid</span>

    First we used Contour 3.0.10, then i tried upgrading to 3.0.12 and at last i tried to downgrade to 3.0.6 (since this seems to be the last build using 4.9, according to the "Archived Files" on http://our.umbraco.org/projects/umbraco-pro/contour)

    Have anyone experienced something similar?

  • Comment author was deleted

    Jun 03, 2013 @ 12:49

    Hey Esben,

    Do you have any details on the error?

  • Esben Sune Rasmussen 3 posts 23 karma points
    Jun 03, 2013 @ 12:51
    Esben Sune Rasmussen
    0

    Not more than i already wrote in the support ticket:

    https://umbraco.zendesk.com/requests/9447

  • Comment author was deleted

    Jun 03, 2013 @ 13:39

    Ok thanks handling this through support then and will post the fix here once we find it :)

Please Sign in or register to post replies

Write your reply to:

Draft