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

Display all rules before/after submitting #17

Open
jonasraoni opened this issue Jan 22, 2021 · 1 comment
Open

Display all rules before/after submitting #17

jonasraoni opened this issue Jan 22, 2021 · 1 comment

Comments

@jonasraoni
Copy link
Contributor

I was trying to fill in a simple password and it was difficult to pass through without knowing all the rules beforehand (I had to submit and try again until it passed).

So I see two options that might be combined here:

  • Validate the rules at the frontend before submitting (or list the required rules using the password label)
  • Validate all rules instead of failing on the first one, so the error message will be more helpful (a number + upper case letter + ... required)
@jonasraoni
Copy link
Contributor Author

I was going to fix this, but it's a bug in the pkp-lib, I've opened an issue instead of adopting an alternative fix (join all errors into a single addError).

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

1 participant