I have a popup with some inputs that have “input should not be empty” selected. When I try to close the model without any data in these inputs, it throws an alert about these inputs being empty. Is there a way to override this behavior?
Can you give some more information about your problem. Screenshots etc. That shouldn’t be happening as long as you aren’t calling the input values when you are closing the popup. The workflow to close the popup shoudl just be reset popup group data and hide the popup.
Mandatory inputs inside a popup is a common requirement. When “input should not be empty” is selected for the name field in the following example, hiding the model with the cancel button will be blocked by this condition. Any suggestions on a solution?
Came up with a solution for this situation but its a bit complicated.
- Set a yes/no state on the popup. Let’s call this state “clicked_create”. Default value = NO
- For any input fields that are mandetory, set a condition where “input should not be empty” is true only when “clicked_create” is YES.
- In the Create Button workflow, set the “clicked_create” state to YES.