Copied to clipboard

Flag this post as spam?

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


  • Chidozie Bright 5 posts 75 karma points
    6 days ago
    Chidozie Bright
    0

    RenderUmbracoFormDependencies() Throws an error due to bad JS reference

    I added the RenderUmbracoFormDependencies() to my Form.cshtml, however, when I ran the page, the condition triggers did not fire.

    When I looked at Developer Tools I found that one of the script files that it the RenderUmbracoFormDependencies() is referencing is missing the 's' in the '.js' extension.

    <script src='https://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.j'></script>
    

    How can I get this fixed so I can properly test to see if my visibility conditions are working?

  • Chidozie Bright 5 posts 75 karma points
    6 days ago
    Chidozie Bright
    0

    As a workaround I just added the proper script reference. This is still an issue in general, since it throws an error and I would assume is required.

    The condition triggers, however, still do not work - but that is another thread.

Please Sign in or register to post replies

Write your reply to:

Draft