In this tutorial, we’ll show you how to use logic to display videos dynamically based on a user's selection in a form.
By setting up a single-choice question and video fields, you can customize the user experience by showing the right video according to their answers.
Step 1: Set up your form
Before adding logic, you need to prepare your form:
Add a single-choice question with two options (Option 1 and Option 2).
Add two video fields below the question field:
Video 1 (to be shown for Option 1)
Video 2 (to be shown for Option 2)
Step 2: Access the logic settings
Open your form in the editor.
Select the single-choice question that will determine which video to display.
In the right sidebar, the Logic tab will automatically open.
Step 3: Set logic for Option 1
In the Logic tab, click on + Add Rule.
Define the condition:
If the answer is Option 1, then show Video 1.
Step 4: Set logic for Option 2
Scroll down in the Logic tab and click + Add Conditions.
Set up the second rule:
If the answer is Option 2, then show Video 2.
Step 5: Review and test the logic
Once you’ve added both conditions:
Option 1 will show Video 1.
Option 2 will show Video 2.
Preview your form and test the logic to ensure the correct video appears based on the user’s selection.
Redirect to show videos on ending pages after submission (optional)
If you prefer to show videos after the form is submitted:
Add your video links to the success pages.
Use logic to redirect users to the appropriate success page based on their answers, where they can view the related video.
Open the advanced logic, scroll down to the "On Submitting The Form" section and add conditions:
📝 Additional insights:
How to set up multiple ending pages with redirect logic: Learn how to create multiple ending pages and set up redirect logic to show different pages based on user responses.