Making a Modal automatically close based on a checkbox
I have a requirement to prevent the Next Stage Modal from appearing when a particular checkbox is checked on said modal display. In my research I discovered that in order to progress the stage while also skipping the modal I'd need to Either
A. Autosubmit the Flow Action. (Issue is that there is no AutoSubmission Option for Flow Actions)
B. Create a When condition Under the Actions Tab that is checked On Load that Saves the Flow Action Immediately (Issue is that On Load Action has additional required properties that prevent me from using it properly)
In a section, there is a checkbox and say a button. On the click of a button, we need to launch the local action in model dialog whenever the checkbox is not checked. Is this the one you are looking for?
Right. So I have a modal being launched from a flow action already. That modal is launched when I click a button. I want to give my user an option to skip that modal when the button is pressed if a checkbox on the launched modal is checked. Does that clarify? Thanks for the help.
I am assuming that there are some required fields on that modal dialog and when the checkbox is checked, the user needs to submit the model dialog without entering the required fields.
To achieve this, keep all the required fields in one dynamic layout and visibility condition to show when the checkbox property value is false. And on the action set of the checkbox, on change refresh the section.
If there is any post-processing Data transform or Activity, you can skip by using the checkbox property value.