I am developing a wizard using perforations; the last step of the wizard is optional. But if they want to complete the last step, some fields will be required.
I gave the user 2 buttons, 1 to save, including the last step, and button 1 to save the previous steps and ignore the last step.
Therefore, I need to skip checking when I click on the second button.
source share