Find trending topics and quick answers here
Hi, how can we help?
How to use conditional logic in online forms
Can I show or hide specific questions based on user responses?
Absolutely! You can achieve this using conditional logic in your online forms.
What is conditional logic? Conditional logic adapts forms based on user responses. You can use it to show or hide questions or sections accordingly.
Let’s go through an example step by step.
Identify the scenario
When creating a registration form, use conditional logic to show a dietary restriction box if the attendee selects “Yes” and hide it if they choose “No.”
Create conditional logic
To create conditional logic:
In this example, you’ll need:
Single Choice field (
Text field for dietary restrictions (appears based on user choice).
For more details about adding fields, check the Add form fields section.
Set up logic:
a. Click the Logics button on the top left of the form builder and then click + New Logic.
b. Define rules: Show/hide Text input based on
Yesanswer, show the Text input.
Noanswer, hide the Text input.
Test the form:
Use Preview & Design to ensure the logic functions as intended.
Respondents get a customized experience: “Yes” shows a text input field for dietary needs, while “No” keeps it hidden.
Discover more conditional logic
Explore additional form logic features in PlatoForms, like Jump Questions, Skip Pages, Branching Questions, and more, in the Commonly-used form logic section for tailored and flexible form designs.
You can also refer to our video tutorial: