Forum Discussion
You're saying that you're ending up with a conflict in form rules. You haven't directly explained what the conflict is, but in general in these form rule conflict situations you want to rewrite the rules to put in a a single rule which handle whether the form element (Field, section or page) should show or hide.
- RochelleWomack18 days agoQrew Trainee
The conflict: Rule 1 - When status is Draft, then Show Intake section and hide Proposal section (and all other sections). Rule 2 - When status is In Development, then Show Proposal section and Hide Intake section (and all other sections). Rule 1 shows Intake and Rule 2 hides Intake. Basically, the functionality that I want is similar to: IF status is Draft then show/hide ELSE IF status is In Development then show/hide. Is it possible to accomplish this with dynamic form rules? I feel this is very simple, but being new to app development I am missing something.
- Roy-Wanyoike18 days agoQrew Assistant Captain
Are you using the new form rules??
- Roy-Wanyoike18 days agoQrew Assistant Captain
This is a very simple task on the form rules. Just have them as below;
Rule 1 should trigger when [Status] = "Draft": Show the Intake section, hide the Proposal section, and in the Otherwise part, hide the Intake section.
Rule 2 should trigger when [Status] = "In Development": Show the Proposal section, hide the Intake section, and in the Otherwise part, hide the Proposal section.
This way, the rules don’t fight each other. Make sure to also add a third cleanup rule (with no condition) at the bottom to hide both sections by default when Status is something else. Order of rules matters — put the most specific ones first.
- RochelleWomack18 days agoQrew Trainee
Yes, I am using new form rules. Let me be clearer about the problem I'm having. I have one form with multiple sections: Intake, Proposal, Project Charter. When the status is Draft, I want to show Only the Intake section. When the status is In Development, I want to show Only the Proposal section, etc. If I use Rule 1 as you have mentioned, yes, Intake section is showing, but also the other sections as well (Proposal, Project Charter). If I use Rule 2 as you have mentioned, yes, Proposal section is showing as expected and Intake section is hidden, but I also see the Project Charter section. In other words if Status is Draft > Show Draft section only, if Status is In Development > Show Proposal section only, etc.