Copied to clipboard

Flag this post as spam?

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


  • David Veksler 81 posts 166 karma points
    Dec 04, 2017 @ 17:52
    David Veksler
    1

    Stuck on Forms validation error

    I am getting the following exception on in my form UI:

    umbracoforms-conditions.js:64 Uncaught TypeError: Cannot read property 'split' of undefined
        at Is (umbracoforms-conditions.js:64)
        at evaluateRuleInstance (umbracoforms-conditions.js:127)
        at evaluateRule (umbracoforms-conditions.js:139)
        at evaluateCondition (umbracoforms-conditions.js:188)
        at evaluateConditionVisibility (umbracoforms-conditions.js:207)
        at isVisible (umbracoforms-conditions.js:215)
        at handleCondition (umbracoforms-conditions.js:221)
        at Object._this.run (umbracoforms-conditions.js:230)
        at Object._this.watch (umbracoforms-conditions.js:110)
        at registration?recordId=dfb01b13-fada-492e-b600-3cf09bd14f41:1040
    

    It looks like value.split(','); is failing in umbracoforms-conditions.js:64 because the value is null.

    Any idea what's causing this?

    The URL is fee-dev.org/events/young-scholars-colloquium/registration?recordId=dfb01b13-fada-492e-b600-3cf09bd14f41

    enter image description here

  • Patric Martin 4 posts 44 karma points
    Dec 09, 2017 @ 16:14
    Patric Martin
    0

    I get the exact same error

  • Rick Mason 38 posts 169 karma points
    Dec 15, 2017 @ 13:48
    Rick Mason
    1

    Me too. I've created an issue:

    http://issues.umbraco.org/issue/CON-1463

    Please vote for it if you want HQ to look into it.

  • Matt Barlow | jacker.io 164 posts 740 karma points c-trib
    Feb 23, 2018 @ 02:02
    Matt Barlow | jacker.io
    0

    Me too, had to implement the fix from your code example, now it works. Thanks Rick.

Please Sign in or register to post replies

Write your reply to:

Draft