Basic conditional logic is a powerful tool in Formaloo that allows you to dynamically change how your form or survey behaves based on the responses of your participants.
With just a few steps, you can improve the user experience by making forms shorter, more relevant, and easier to complete.
Basic conditional logic lets you control what happens next in your form based on the answers given to previous questions.
For example:
If the answer is X -> show Question 1
If the answer is Y -> show Question 2
This simple setup makes it easy for users to navigate through the form and ensures that they only see the questions relevant to them.
Let’s walk through how to implement basic logic in Formaloo.
Setting up basic logic
Implementing basic logic is incredibly simple.
Here’s a step-by-step guide:
Go to your dashboard: In the Formaloo dashboard, select the form or survey you want to edit.
Enter edit mode: Click on the "Edit Base" button to start editing the content of the form.
Select the question: Click on the question to which you'd like to apply conditional logic. Once selected, a sidebar will open, displaying both the "Edit" and "Logic" tabs.
Open the logic tab: Click on the “Logic” tab to start adding your conditions and actions.
Add rules: Now you can add rules to control the behavior of the form based on user responses.
Example:
Let’s imagine you’re organizing an event and need to collect information about attendees' food preferences.
You want to know if they have any dietary restrictions or preferences for sweet or savory snacks. In this case, you would have the following questions:
Do you have any dietary restrictions? (Yes/No field)
What are your dietary restrictions? (Multiple choice field)
Do you prefer sweet or savory snacks? (Single choice field)
Setting up logic
To make this form more efficient for your users, here’s how to set up the logic:
Question 1 (Dietary restrictions): You need to create a rule based on the answer to this question.
If the answer is Yes, jump to Question 2 (to ask about specific dietary restrictions).
If the answer is No, jump to Question 3 (to ask about snack preferences).
Here’s how to do this:
Select Question 1.
Go to the Logic tab and click on + Add Rule.
Set the condition: If the answer is Yes, jump to Question 2.
Set the fallback rule: If the answer is No, jump to Question 3.
completing the logic
For Questions 2 and 3, you can set the logic to Always Submit.
This ensures that after the user answers the relevant questions, they can directly proceed to submit the form.
Without logic, your form could become unnecessarily long, asking participants questions that don’t apply to them.
For example, someone with no dietary restrictions would still have to see and skip over a question about restrictions. With logic, this step is automatically skipped, creating a smoother user experience.
By setting up basic conditional logic:
You enhance the user experience by making your forms shorter and more personalized.
You reduce friction, leading to better form completion rates and higher conversions.
You can easily guide users through a dynamic form that adapts to their responses.
Visualizing basic conditional logic with the Logic Map
A logic map provides a quick way to see how basic conditional logic guides users through your form.
With basic logic, your form flows based on simple, one-step conditions, and the logic map illustrates these jumps, making it easy to ensure everything aligns as intended.
Why use the Logic Map for basic logic
Clarify user flow: The map shows which questions appear based on user answers, making it easier to confirm that each condition directs users to the right next step.
Spot gaps early: By viewing a visual representation, you can quickly catch any missing conditions or paths, improving overall form flow.
Streamline user navigation: Seeing all jumps in a single overview helps you confirm that each response leads users seamlessly through relevant questions.
Accessing the Logic Map
Navigate to the Logic tab: In your form editor, go to the Logic tab.
Open the Logic Map overview: The Logic Map option shows a simple diagram that highlights each question’s flow based on your basic conditional settings.
Review the flow: Check that each condition moves users to the correct questions, ensuring a smooth, user-friendly experience.
With a logic map, setting up basic logic becomes more intuitive and user-centric, helping you visualize the form’s adaptability and catch any potential gaps in the flow.
📝 Additional insights:
While Basic logic allows you to set up simple rules for individual questions, Advanced logic in Formaloo lets you create more complex rules, allowing you to set conditions for the entire form or survey.
For example, you can reference responses across multiple fields and create multi-conditional rules using AND/OR operators.