Propose new features
Designing Decidim together
Survey - Don’t allow user access to the next step in case of error
Is your feature request related to a problem? Please describe.
Admins can create surveys with mandatory or non-mandatory questions over several steps. The user can move from one step to another by clicking on "next" and at the last step he/she clicks on "submit". It is at the moment of submission that the verification of the validity of the information entered is done. So, if there is any errors, the user isn’t informed until the end. In addition, the error message is not explicit, doesn’t indicate where there was an error and does not redirect the user to the field(s) or step concerned.
Describe the solution you'd like
When filling in the fields for a survey if not all mandatory fields are filled, it would be appropriate to :
- Not being able to access to the next step.
- Display an error message.
- Highlight in red the field.
Describe alternatives you've considered
In case that is not possible to do the verification at each step, we could also imagine that if there is any error, the entire form is displayed with all the fields with wrong information highlight so that the user can correct them.
Does this issue could impact on users private data?
Could be funded by the city of Toulouse
List of Endorsements
Report inappropriate content
Is this content inappropriate?
You are seeing a single comment
View all comments
Hi @simonas! Indeed, this is a bug, and we agree with the proposed solution and the comments from Ivan and Ouarda. So green light from @product to look for funding and fix it!
Loading comments ...