In the below video Josh sets up the modal to close automatically when you press the form submit button. What if the form has validation errors? Would the modal close and thus require the user to open the modal again to see what was wrong with their submission?
1 Like
If the form has validation errors, preventDefault happens which should prevent any other events like “click” from occurring. I haven’t tried it out, but I’m sure we could fix an issue there if it does close on validation errors.