checkValidity() function


#1

This function returns false if any of the input fields did not validate. How would I find which field did not validate. i would like to give each box red border.


#2

What code do you have so far?


#3

I didn’t write the code yet. I was interested to see how can I using above function get individual items that were not validated


#4

Have a try at changing up the examples here (in particular, the constraints section), you may even find that default browser behavior is all you need.


closed #5

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.