You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run this on chrome, I get the alert ONLY when there is a value in the required field.
If I use h5Validate, I always see the alert. That's not consistent. In my opinion, the alert message should be shown only if the form is valid (like it happens in Chrome)
How to reproduce:
Just add
onsubmit="alert(123)"
for any form in the demos
The text was updated successfully, but these errors were encountered:
You are correct. Browsers that have a full native implementation of the official HTML5 Forms module (like Chrome and Firefox) will not produce the alert, while html5Forms.js produces the alert. Thanks for "alerting" me to this issue :-) ... will look into fixing this in a subsequent release soon.
If I run this on chrome, I get the alert ONLY when there is a value in the required field.
If I use h5Validate, I always see the alert. That's not consistent. In my opinion, the alert message should be shown only if the form is valid (like it happens in Chrome)
How to reproduce:
Just add
onsubmit="alert(123)"
for any form in the demos
The text was updated successfully, but these errors were encountered: