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
If the field is numeric, it should check that the user entered a reasonable number. (For example, ages should not be negative)
if the field is text, it shouldn't have anything that looks like a sql command.
If the field is numeric, it should check that the user entered a reasonable number. (For example, ages should not be negative)
if the field is text, it shouldn't have anything that looks like a sql command.
Check out the following library:
https://github.com/validatorjs/validator.js
The text was updated successfully, but these errors were encountered: