Copied to clipboard

Flag this post as spam?

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

  • Sven 30 posts 133 karma points
    Jun 16, 2021 @ 09:14

    Umbraco Forms conditional logic not working


    We're using latest version of umbraco forms v8.7.3 with a umbraco v8.8.4.

    Our master template has a simple setup using the @Html.RenderUmbracoFormDependencies() in the <head>.

    We're rendering our form using: @Umbraco.RenderMacro("renderUmbracoForm", new { FormGuid = Model.Form, FormTheme = "custom-form", ExcludeScripts = "1" })

    Our custom form is a copy of the default theme with some extra css changes. No changes have been done on javascript or any classes needed for conditional logic.

    Important notice: we're using vue as components for some pages. It's not a vue application but vue is linked above the main tag with id="app".

    <div id="app">
                @Html.Partial("Header", Model)
            <main id="main">
                    @Html.Partial("Breadcrumbs", Model)
                @Html.Partial("Footer", Model)

    Using any script tags in the main tag results in vue warnings such as: Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.

    I'm using a simple form to test this with the following setup: enter image description here

    Results: enter image description here

    Any idea what we're doing wrong? Thanks!

  • Lili 1 post 71 karma points
    Jul 09, 2021 @ 08:17

    Hi, I'm experiencing the same issue, wondering if you had any updates on this.

  • Owain Jones 22 posts 199 karma points MVP c-trib
    Aug 06, 2021 @ 15:13
    Owain Jones

    Hi Sven, did you ever get this to work?

    We're seeing the same thing on Forms v8.7.5 with Umbraco v8.15.0

  • Jamie Townsend 50 posts 250 karma points c-trib
    Aug 14, 2021 @ 18:02
    Jamie Townsend

    Same here - not working

  • Sören Deger 731 posts 2840 karma points c-trib
    Sep 12, 2021 @ 14:34
    Sören Deger

    Same here - Umbraco 8.16.0 and Forms 8.7.6

Please Sign in or register to post replies

Write your reply to: