javascript - Form that is HMTL5 Won't Validate -
The form will be valid, but after that it will be skipped and just goes straight to the end result.
It seems that your problem is that You are handling
instead of the onclick
button event. In step 4 of the algorithm, it has been stated that
submit from the submit () method is not set to the flag, and there is no valid state of the submitter element, then the interrupts agree to the interruptions The form ...
This notifies me that when you are explicitly calling form.submit ()
function, you can use the HTML processor Telling you have done all the requirements and submitting the form Should not (Unfortunately, I was not able to post a good simple blog posting through explanations or examples.) You need to remove the button's onclick
handlers and allow the form to be submitted in general. , Which will trigger verification
formaction
html5 attribute to your button to submit a different URL for each button without using it .
Comments
Post a Comment