Based on the answer selected on the drop down we could “hide” and “show” other questions on the frontend.
Did you go hiking? (YES|NO)
Yes-> show question 1.1 (which by default is hidden)
On the CSV we would need two additional columns:
- Default Visualisation: show|hide
- Action: Show1.1|Hide2.3
We need to be careful:
- conflicting settings, if one condition shows and the other one hides … in the end we perform the last action the user did
- backend check for incomplete submission … those that were “hidden” must not be “mandatory” even if “Complete all answers” was selected on the form
- backend check if someone tries to inject an answer even if its hidden using post
github: