-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Validation works great, but on numerous occasions our users have requested that the input be prevented beforehand rather than getting an error after the form is submitted. i.e. an input has the numeric class, prevent alpha characters from being typed, rather than waiting for the box to turn red after the form is submitted. Perhaps introduce a class of "aggressive" vs "lazy", or an attribute on the input. It could even be an attribute on the form to say this form is validated aggressively or lazily.