Copied to clipboard

Flag this post as spam?

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


  • Mimi 21 posts 91 karma points
    Mar 09, 2023 @ 20:09
    Mimi
    0

    Umbraco Forms conditional logic not working in Umbraco 10.0.1

    Hello!

    Umbraco Forms conditional logic not working in Umbraco 10.0.1

    Any idea of how to fix this ? Thanks!

  • Franco Abott 1 post 71 karma points
    Jul 18, 2023 @ 16:31
    Franco Abott
    0

    In my case I was missing the javascript file previously loaded in the Forms/Themes/default/Scripts.cshmtl file here:

    @{
    Html.AddFormThemeScriptFile("~/App_Plugins/UmbracoForms/Assets/themes/default/umbracoforms.js");
    

    }

    Now I copied over the file to my assets and now loading it using Smidge like this:

        SmidgeHelper.CreateJsBundle("inline-js-bundle").RequiresJs(
        new[]
        {
            "/assets/js/umbracoforms.min.js",
        });
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies