⛔️ [DEPRECATED] That is a jquery plugin, which emulates HTML5 Form Validation on old browsers. The plugin also allows to customize form submission validation tooltips and field validation callbacks (e.g. via XMLHttpRequest)
I think the current behavior of treating fields of type email, number,tel and url as required is wrong. A input of this type should be valid if it is empty as long as it is not also marked as required.
This field is not required, but when input is present it has to be a valid email:
<input type="email" name="email">
This field is required, it can not be left empty and it has to be a valid email:
I think the current behavior of treating fields of type email, number,tel and url as required is wrong. A input of this type should be valid if it is empty as long as it is not also marked as required.
This field is not required, but when input is present it has to be a valid email:
This field is required, it can not be left empty and it has to be a valid email: