That looks more like a JavaScript issue. The return false
in your function that's triggered by the submit button is actually preventing the form from being submitted.
If you only need validation, you could handle it using checkValidity()
and reportValidity()
instead.