Conditional and mandatory questions help you get complete, relevant answers from every participant. Turn on guided consultation for a consultation, and you can:
In this article
Every consultation starts in Open Participation mode, where participants answer whichever forms they like. To use conditional and mandatory questions, switch the consultation to guided mode:
The tab now says Guided consultation mode active. Below it, the Questions Dashboard lists every form in the consultation, grouped by section. Use its filters (All, Configured, Mandatory, Conditional and Invalid) or the search box to find a form quickly.
A consultation created from a template keeps the template's mode and rules.
Participants must answer a mandatory form before they can submit. Every type of form can be mandatory except Interactive Map.
From the Questions Dashboard: click Mandatory next to the form. The change is saved right away.
From a form:
If a mandatory form is hidden by a condition, participants don't have to answer it.
A conditional form appears only when a participant gives a specific answer to an earlier form. For example, you can ask "How do you usually get downtown?" and show "Where do you usually park?" only to people who answer "By car."
The earlier form, shown on screen as the Source question, must be a Multiple-choice question placed above the form you want to show.
How conditions work
A source question must stay above the forms that depend on it. If you try to move one below a form that depends on it, the move is blocked and a message explains why.
Participants log in to answer, as with any Cocoriko consultation. Live results, comments and likes work as usual. Visitors who aren't logged in don't see conditional questions: they appear once the visitor logs in and answers.
In guided mode, a response is complete when the participant has answered every mandatory question they can see and clicked Submit. On the Guided Consultation tab, under Official Results, choose which responses count:
This setting applies to the results and exports you see as an admin. Comments aren't affected: they appear as soon as they're posted.
To go back to Open Participation mode, open the Guided Consultation tab, turn off the toggle, and click Save. Your mandatory and conditional rules are kept but no longer apply. If you turn guided mode back on, they apply again.
"…must stay before…, which depends on its answer."
You tried to move a source question below a form that depends on it. Move the dependent form first, or remove its condition.
"This consultation cannot be saved: its conditional visibility rules are invalid."
In the Questions Dashboard, click the Invalid filter. Fix or remove each condition listed there, then save again.
"No compatible previous questions are available."
A condition needs a Multiple-choice question placed earlier in the consultation. Add one above this form, or move this form lower.
A conditional form now shows for everyone.
The form it depended on was deleted, so its condition was removed too. Add a new condition with Edit logic.
The Mandatory question toggle is greyed out.
The form is an Interactive Map. Interactive Map forms can't be mandatory.
Need help? Write to us at support@cocoriko.org.