You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ristu.js can be used in conjugation with javascript event listeners to allow or prevent user input. This could be a possible addition to the library, but a concern of mine is not telling the users why their input is not being registered.
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.
The text was updated successfully, but these errors were encountered: