Clicking submit button blocked by validation run



I am facing an issue during submission of a form. The steps to reproduce are as follows

- create a form with few fields. Make sure the last field has a validation configured through Rules Editor (lets say email format validation)

- on page load, click on submit. Validations fire and the email field has a validation error that it is a required field

- now type the email in the field. Donot tab out yet.

- directly click on the submit button

So what happens is that, the validations fire on the email field and the error disappears . This is good. But the submit click action is gone and now user has to click on submit again. The click on submit button is intercepted and the validation execute, but it doesnt continue with the submission of the form. Is there a workaround for this issue?


Accepted Solutions (0)