author avatar

revath

Wed Aug 01 2018

form.submit() won't run the HTML5 validations. if you want to programatically run HTML5 validation use form.checkValidity() and form.reportValidity() EG: https://jsbin.com/huqana