Note: This is an upgraded feature on POWR Form Builder/Survey/Poll.
With conditional logic you can create rules which show certain elements based on the choices your visitor makes. Rules keep your forms short and smart.
Conditional logic is managed for any element by going to the Poll section > Poll Elements > Element in the POWR Editor.
Rules - Rules can be based on any Multiple Choice, Dropdown, or Checkbox element, and can display any element in the Poll. Once you add a Multiple Choice, Dropdown, or Checkbox to your Poll, you create a rule for another Element in the fPoll. Create the rule in the element that will be displayed based on the conditions.
Creating a RuleEvery rule is composed of a Question and an Answer.
Question - Questions determine which element will trigger an Action. Questions always refer to a different element in the Poll. For instance, if you are making a Poll to book appointments, you might have a Radio that asks, Do you want to book an appointment? If the visitor clicks Yes , a Date and Time element should appear. In this case, the Question would be...
Do you want to make an appointment?
Answer - Answers determine which selection will cause the element to show. The second dropdown will populate with the options available to users in the Question selected. In this case, the Answer would be...
The conditional logic settings should be added to the Date and Time element, not the Radio element. The rule will use your visitor's answer from the Radio element to determine whether or not to show the Date and Time element.
Once this Rule is created, the Date and Time element will only appear on the Poll when the visitor answers Yes to the question Do you want to book an appointment?
Note: Conditional logic cannot be tied to multiple check box element since it allows to select multiple variants.
Conditional logic in Wix interface:
To add conditional logic through Wix editor please:
1. Open Poll/Survey settings settings
2. Click on"Add element" button
3. Select "Dropdown", "Multiple choice" or "Checkbox" element
4. Open the element which must be determined by the conditional logic (in this example it is a "Text" element)
5. Create the rule in the element that will be displayed based on the conditions ("Only show this element if" section):
5. Save changes