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

Per question error handling. #87

Open
dowadidi opened this issue Apr 4, 2017 · 0 comments
Open

Per question error handling. #87

dowadidi opened this issue Apr 4, 2017 · 0 comments

Comments

@dowadidi
Copy link

dowadidi commented Apr 4, 2017

Questions don't have an error status. It would be nice to use something like question.error in an if-statement to show a custom error message, or add an error class to the field wrapper.

Also, the submission.getAllErrors() puts out an array of strings. Not only does the order not mach the order of the fields, the array keys do not match the question ids. And the strings do not mach the custom error message added in the backend.

Matching the keys in the getAllErrors array with the question ids, would be very helpful.

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