Copied to clipboard

Flag this post as spam?

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


  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Jul 27, 2016 @ 11:03
    Ravi Motha
    0

    Umbraco Forms Conditionals - not working

    I have an issue with the conditionals I have a radiobutton list if i select yes I should see the following boxes.. enter image description here but I get no response....

    Any ideas what I am doing wrong?

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Jul 27, 2016 @ 11:15
    Ravi Motha
    0

    just to reiterate on the front end i have the radio buttons but regardless of what I do I get a no show of the 2 hidden fields

    enter image description here

    Help me obi-wans kenobi.. I'm a little flummoxed..

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 27, 2016 @ 11:19
    Dennis Aaen
    0

    Hi Ravi,

    What version of Umbraco Forms are you using?

    Also besure that you have prepared your front-end by adding i the top of your site before the form is loading.

    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.js"></script>
    

    https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Prepping-Frontend/

    If you want to load them in the bottom of you page you'll need to perform an extra step

    https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Rendering-Scripts/

    Hope this helps,

    /Dennis

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Jul 27, 2016 @ 12:03
    Ravi Motha
    0

    I'm using Umbraco form 4.1.5

    the only thing I have differently is the

    <script src="/scripts/vendor/jquery/jquery-2.1.3.min.js"></script>
    <script src="/scripts/vendor/jquery-validate/jquery.validate.js"></script>
    <script src="/scripts/vendor/jquery-validate/jquery.validate.unobtrusive.js"></script>

    are below the form

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 27, 2016 @ 12:37
    Dennis Aaen
    0

    Hi Ravi,

    Okay if you are loading your scripts under the form, then you need to do these steps that you find here:

    https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Rendering-Scripts/

    I would also recommend you to update to the latest version of Umbraco Forms, there have been fixed a lot of issues with conditionals and a ton of UI changes to the better.

    /Dennis

  • Ravi Motha 290 posts 500 karma points MVP 8x c-trib
    Jul 27, 2016 @ 15:12
    Ravi Motha
    0

    would that explain why I get a

    Error loading Partial View script (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml)

    error when I try and submit the form??

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 28, 2016 @ 07:11
    Dennis Aaen
    0

    Hi Ravi,

    Perhaps, it could be this, http://issues.umbraco.org/issue/CON-1025, and it has been fixed in 4.3.0 http://issues.umbraco.org/issue/CON-1034

    You could also try set

    Error loading Partial View script (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml)

    Hope this helps,

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft