Copied to clipboard

Flag this post as spam?

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


  • Shawn Calvert 31 posts 195 karma points
    Aug 04, 2018 @ 04:25
    Shawn Calvert
    0

    Umbraco Forms: cannot read property 'adapters'; jQuery Validate Unobtrusive has not been loaded

    Hello,

    I'm trying to set up a test of Umbraco Forms to see if it will work for our site, but I can't figure out why I'm seeing errors. I've loaded in the three jquery dependencies in the head, but the form keeps showing this:

    enter image description here

    I tried different versions of scripts, including the ones used in the example with no luck, and confirmed that everything is loading in.

    enter image description here

    Maybe related ... I'm seeing this error in the console:

    enter image description here

    I had originally in a more complex form, with a validation and a workflow, but I stripped it down to just a single field, with same results. The scripts and the form itself are in the master page. The form is shown in a modal.

    Any tips would be appreciated,

    thank you

  • Alex Brown 129 posts 620 karma points
    Aug 06, 2018 @ 06:58
    Alex Brown
    100

    I managed to reproduce this by referencing in this order

    jquery.validate.unobtrusive.min.js
    jquery.validate.min.js
    

    However, they should be referenced in the following order:

    jquery.validate.min.js
    jquery.validate.unobtrusive.min.js
    
  • Shawn Calvert 31 posts 195 karma points
    Aug 06, 2018 @ 16:37
    Shawn Calvert
    0

    Hi Alex, thank you very much for taking the time to reply! I had the dependencies loaded up in the right order, I thought ... I didn't realize there was another script further down that was loading in the jquery validate script a second time ... ouch!

Please Sign in or register to post replies

Write your reply to:

Draft