Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add input validation on survey input fields #137

Open
avenmia opened this issue Jul 24, 2023 · 0 comments
Open

Add input validation on survey input fields #137

avenmia opened this issue Jul 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request Low Priority Non-essential that extends usability.
Milestone

Comments

@avenmia
Copy link
Collaborator

avenmia commented Jul 24, 2023

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

@avenmia avenmia added the enhancement New feature or request label Jul 24, 2023
@avenmia avenmia added this to the MVP milestone Jul 24, 2023
@avenmia avenmia added the Low Priority Non-essential that extends usability. label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Low Priority Non-essential that extends usability.
Projects
None yet
Development

No branches or pull requests

2 participants