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

Frontend validation on login form #76

Open
emilyb7 opened this issue Nov 30, 2016 · 1 comment
Open

Frontend validation on login form #76

emilyb7 opened this issue Nov 30, 2016 · 1 comment
Assignees

Comments

@emilyb7
Copy link
Collaborator

emilyb7 commented Nov 30, 2016

We should validate that username and password have been filled out and that neither contains spaces before sending post request to server.

@njsfield
Copy link
Contributor

njsfield commented Dec 1, 2016

Required is used in the html input field already, so you cannot submit anywhere without them filled. Instead of frontend javascript, you can use the required attribute to set a regular expression... See here

@njsfield njsfield self-assigned this Dec 1, 2016
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