DeskDirector Forms - Sections and Conditionals
Adding sections – Basics
The primary use of sections is to provide a way to split your form up into self-contained pieces. This can make longer or more complex forms easier for your users to complete.
A similar effect can be achieved by using the “Statement” question type, to break apart the questions into groups.
Every form starts off with a single section by default, the “Base Section”, which is invisible to you unless you create additional sections.
To create a new section, click the dropdown at the top of the form and click “Add Section”.
A new navigation control will appear at the top of the form, allowing you to navigate between the various sections you have.
Adding sections – Conditional Sections
If you need to ask certain questions in your form, but based on the response to earlier questions, then conditional sections are what you are looking for.
By default, all new sections are visible to the end user.
Sections can be triggered to hide/show based on “Choice” type questions answered in previous sections.
Section conditions are set individually for each section.
The section condition option will only appear if there is a valid “Choice” type question, in an earlier section.
To try this out, create a form with a “Choice” type question and give it a few options.
Next, create a new section which you only want to show if the user gave a particular answer earlier.
At the top of the section, you will be presented with an option to change the section conditions. When adding a condition you will be presented with a dropdown of earlier questions. Use this to select which question you wish to base your condition on.
Adding sections – Conditional Sections – Single choice question
“in” condition – The condition will be satisfied if their selected choice is one of the checked answers.
“not_in” condition – The condition will be satisfied if their selected choice is not one of the checked answers.
Adding sections – Conditional Sections – Multi-choice question
“contains_any” condition – The condition will be satisfied if their selections contain any one of the checked answers.
“contains_all” condition – The condition will be satisfied if their selections contain all of the checked answers.