Skip to content

Glossary: JavaScript in the Browser

setCustomValidity

Also written: customError

Marks a control invalid with your own message, and "" makes it valid again. Sam's rule that Washington deliveries start at 4 bags uses it.

Where the book teaches it

Related terms

validitycheckValidity