Conditional logic not workingSitecore 9.1 Forms conditional logic not working as expectedLogic jumps in Sitecore 9 FormsSitecore 9.0 Forms location can not be specified during creationCustom validation is not working while saving the formSitecore 9.1 Forms conditional logic not working as expectedHow to add Conditional field in sitecore 9 Form?Redirect to page submit action not working in Safari browserSitecore 9.0.1 Custom form field element is not savingExport form data not working

How can I get a ride in the jump seat as a non-professional pilot?

How to create "wave"-like type in Illustrator

Personal Finance Management Tool

What should be done if I suspect a player is using weighted dice?

How could pirates reasonably transport dinosaurs in captivity, some of them enormous, across oceans?

Is 人孔 from English?

Between while and do in shell script

A single word for "not allowed to be changed" or "must be this way"

What is latinum and where does it occur?

What's the best way to keep cover of a pan slightly opened?

Can I make leading exclamation points be ignored in the terminal? (I type them by instinct due to ipython)

Why are green parties so often opposed to nuclear power?

What is homebrew? Should I use it in normal games?

Does being invisible grant advantage on stealth checks by RAW?

Infinite series that strangely converge?

Deprecate or remove an Apex Invocable Action from Process Builder in a Managed Package

Is publishing runnable code instead of pseudo code shunned?

Would an anti-magic field block targets of Dragon's Breath spell user?

In Germany, why does the burden of proof fall on authorities rather than the company or individual when it comes to possible illegal funds?

Can two moons have intersecting orbits yet be guaranteed not to collide?

Find the used hard disk data and solve disk pressure

Does std::unordered_map operator[] do zero-initialization for non-exisiting key?

SQL Server chooses unselective index

What are examples of (collections of) papers which "close" a field?



Conditional logic not working


Sitecore 9.1 Forms conditional logic not working as expectedLogic jumps in Sitecore 9 FormsSitecore 9.0 Forms location can not be specified during creationCustom validation is not working while saving the formSitecore 9.1 Forms conditional logic not working as expectedHow to add Conditional field in sitecore 9 Form?Redirect to page submit action not working in Safari browserSitecore 9.0.1 Custom form field element is not savingExport form data not working






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















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










share|improve this question



























  • can you check if you have any js errors?

    – Vlad Iobagiu
    Sep 27 at 10:26

















1


















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










share|improve this question



























  • can you check if you have any js errors?

    – Vlad Iobagiu
    Sep 27 at 10:26













1













1









1








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










share|improve this question
















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







sitecore-forms






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 27 at 10:03









Mark Cassidy

21.4k5 gold badges45 silver badges93 bronze badges




21.4k5 gold badges45 silver badges93 bronze badges










asked Sep 27 at 10:03









Michael van DijkMichael van Dijk

112 bronze badges




112 bronze badges















  • can you check if you have any js errors?

    – Vlad Iobagiu
    Sep 27 at 10:26

















  • can you check if you have any js errors?

    – Vlad Iobagiu
    Sep 27 at 10:26
















can you check if you have any js errors?

– Vlad Iobagiu
Sep 27 at 10:26





can you check if you have any js errors?

– Vlad Iobagiu
Sep 27 at 10:26










1 Answer
1






active

oldest

votes


















2



















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.



https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html






share|improve this answer

























  • Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

    – Michael van Dijk
    Sep 27 at 11:16












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "664"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f22286%2fconditional-logic-not-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2



















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.



https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html






share|improve this answer

























  • Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

    – Michael van Dijk
    Sep 27 at 11:16















2



















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.



https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html






share|improve this answer

























  • Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

    – Michael van Dijk
    Sep 27 at 11:16













2















2











2









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.



https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html






share|improve this answer














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.



https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html







share|improve this answer













share|improve this answer




share|improve this answer










answered Sep 27 at 10:33









James WilliamsonJames Williamson

1,4031 gold badge6 silver badges12 bronze badges




1,4031 gold badge6 silver badges12 bronze badges















  • Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

    – Michael van Dijk
    Sep 27 at 11:16

















  • Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

    – Michael van Dijk
    Sep 27 at 11:16
















Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

– Michael van Dijk
Sep 27 at 11:16





Thank you, James! I'll pass this on to our developer, sounds like this will fix the issue.

– Michael van Dijk
Sep 27 at 11:16


















draft saved

draft discarded















































Thanks for contributing an answer to Sitecore Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f22286%2fconditional-logic-not-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü