I have created an interface with a button which opens a form . The form contains 2 buttons for Cancel and Submit. Some fields on this form are Required.
If I submit the form I get the validations for required fields but even after Cancelling the form , returning to my grid and on pressing the button to open this form again the validations are still displayed, how can I remove these validations?
Discussion posts and replies are publicly visible
you should use
Validate: false
in the cancel button
I am using validate false for the Cancel button,The issue occurs if I open the form again from my interface.
After the first time a button is pressed causing validations to fire, in a single task instance, as far as I know there's no way to clear this until you leave the task and start a new instance. Thus I'd suggest potentially causing the cancel button submit off the form and quickly loop back to the same task again with chaining enabled - this would launch a new task instance and the validation state would be cleared.