Form tests - custom validity

Back to index.

setCustomValidity assumes the field is invalid and sets its argument as the error message.




 

Test fields

The second and third fields have an error.