Element Visibility & Conditional Elements
In your form, you may want to ask a question and, depending on the response given, you'd like additional questions (or sections of several questions) to appear or disappear. We call showing these additional questions "Conditional Visibility". There are a couple ways you can set this up.
In the example below, you see the initial question and the two Conditional Elements in form builder. This example shows or hides individual questions but you can apply the same process to an entire group to show or hide many questions or elements at once.
Method 1: Start from the question/element you want to show or hide conditionally
To link the Conditional Elements with the response options ("Cash donation" or "In-kind donation"), click the eye icon on one of the Conditional Elements.
This Element Visibility window will pop up. You’ll be able to select the initial question and response that will make the Conditional Element/Group visible. Repeat this step for all Conditional Elements.
Method 2: Start from the answer that will conditionally show or hide other elements
Another way to set up Conditional Elements is to set up your initial question with your response options and then click on the eye icon next to the response you'd like to add a Conditional Element to.
This Add Conditional Elements window will pop up. You will be able to create a Group of Elements or select an existing Element/Group in your Form, to be visible when that response option is chosen.
Conditionally Visible Elements Appearance
When an element or group has been made conditionally visible, it will appear slightly different to you in the form builder. Elements that are conditionally visible will have an yellow dotted outline around them and when the mouse is over top, a description of what option is required to make it visible is displayed.
What Happens to Data in a Hidden Section
It is possible that a submitter makes a choice that shows some conditional questions and they later change their answer that subsequently re-hides the questions. If a submitter does this and they had filled in some of the conditionally visible answers, that information will not be discarded while they work. If they change their mind again and re-show the conditional questions their data will still be there. When the person submits however, any data that is in a re-hidden section will not be stored in the Do Some Good database and it will not be available to you as an administrator when you review the submission.
Comments
0 comments
Article is closed for comments.