A webform can be configured so that only some options are presented based off of a learner's previous form values.
Here is an example which will ask if the learner wishes to share their email address, then will present an input form conditionally based on the selection.
To set up a conditional Webform component:
Click the "Webform" tab.
Create a Select option component labeled "Do you wish to share your e-mail address?"
In the "Options" textarea, enter this value:
yes|Yes
no|NoClick the "Save component" button.
Create an E-mail component to ask for the learner's e-mail.
Click the "Conditionals" sub tab.
Next to the "Add a new condition" text, click the "+" button.
Configure the new conditional rule to read:
If <Do you wish to share your e-mail address?> <is> <Yes>
then <show> <E-mail>Click the "Save conditions" button.
When filling out the Webform, the e-mail field will only be visible if the learner checks "Yes".
Info |
---|
Conditional components can be also separated with a Page break form component. |
...