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

Forms should only clear after being submitted or a page refresh but not after failed validation #2764

Open
qumuq-til opened this issue Dec 16, 2019 · 1 comment
Assignees
Labels

Comments

@qumuq-til
Copy link

qumuq-til commented Dec 16, 2019

It's not great to require user to input all data in multiple fields again if validation fails for any field. Currently if refresh_prevention is set to true, fields will always clear on failed validation. If set to false, however, fields don't clear after the form had been correctly submitted which is confusing to the user. Refreshing the page should probably give the form a new ID so it could be filled again.

@qumuq-til
Copy link
Author

Specifically, problems happen when refresh_prevention is set to true and the form is being repeatedly validated, such as when entering "wrong" values two or more times in a row. The form would then inform you that it had already been submitted when in reality you were only trying to get over field validation error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants