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

gt; & Lt; Form & gt; Instead of handling the onsubmit event for 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

You can add the formaction html5 attribute to your button to submit a different URL for each button without using it .

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -