Conditional Logic

Modified on Mon, 6 Jul at 4:11 PM

Conditional logic is used to show form elements, trigger workflow events and approval steps when specific form conditions are met.


TABLE OF CONTENTS


How to Configure Conditional Logic


One of the most common and simple examples of conditional logic is when none of the available options matches what the user needs, so you provide them with an "Other" option where they can enter text into a text input. For example, you might have a feedback form including a question like "How did you find out about us?" with some common options "Search Engine, Social Media, Friend/Word of Mouth, Advertisement", but you want to include an "Other" option if none of those match. 


Step 1: Create the Element that will be used for the Condition. I will create a radio button for "How did you find out about us?" with the following options: "Search Engine, Social Media, Friend/Word of Mouth, Advertisement".




Step 2: Add the "Other" option to the list of options.




Step 3: Create the "Other" Element. In this example, I am using a Text element.



Step 4: Turn on the 'Show Conditionally' switch, select the "How did you find out about us?" element and choose the "Other" option.


Now, when the user chooses Other, the "Other" element will display for them to complete.




Multiple Conditional Logic Rules


When you add a second rule to the conditional logic of an element, a new option will appear: the 'Match ALL' and the 'Match ANY' buttons. 


Match All example


Use Match All when every condition must be true before the field or section appears.


Scenario: Show a “Pet Registration Details” section only when the applicant owns a dog and the dog is not already registered.


Conditions:


QuestionConditionAnswer
Do you own a pet?isYes
What type of pet is it?isDog
Is the dog already registered?isNo


Result:

The section only appears if the user answers Yes, selects Dog, and says the dog is not registered.



Match Any example


Use Match Any when only one condition needs to be true before the field or section appears.


Scenario: Show an “Upload Supporting Documents” section when the applicant applies for any type of concession.


Conditions:


QuestionConditionAnswer
Are you applying as a pensioner?isYes
Are you applying as a student?isYes
Are you applying as a health care card holder?isYes


Result:

The section appears if the user answers Yes to any one of those questions.




Getting Help

If you need any assistance with conditional logic, please reach out through the Report Issue menu or email support@oneblink.io.






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article