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

Validate volunteer entry #73

Open
coka opened this issue Dec 19, 2019 · 0 comments
Open

Validate volunteer entry #73

coka opened this issue Dec 19, 2019 · 0 comments
Assignees

Comments

@coka
Copy link
Member

coka commented Dec 19, 2019

Any string is currently valid as a volunteer first and last name. For example, it is possible to add a volunteer called "1 .". We should improve this entry form in the following ways:

  • Allow only letters.
  • Display an error when the user tabs to the next form field if the previous field is invalid.
  • Volunteer names should be sanitized before saving them to the database (e.g. leading and trailing whitespace should be trimmed).
@ivanalaz ivanalaz self-assigned this Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants