We've recently upgraded to Sitecore 9.1, and used to work with WFFM. Now we work with Forms, so I'm reconstructing our forms to this new version.

I have an issue with Conditional Logic though, very frustrating.

I have exactly recreated an example that I found from this website earlier, credits to Fredric Foo, just to make sure I wasn't losing my mind, but it just doesn't work. No matter how the conditions are set, it doesn't hide sections or fields for me.

Could there be any setting that our developer missed while upgrading that I need to enable/change in order for it work? Or should it work out-of-the-box.

I really hope someone can help me out.

Thanks, Michael

  • can you check if you have any js errors? Sep 27 '19 at 10:26

We ran into this issue as well. The script that drives the conditional logic requires that the form has both the MVCLayout.cshtml and MVCOuterLayout.cshtml layouts. We were missing the MVCOuterLayout.cshtml layout. Once we added that to the form the conditional logic worked.


  • Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue. Sep 27 '19 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.