Skip to main content

Form Logic

Add conditions to hide or show and/or require form questions depending on an answer from a previous question

Written by Ariane Ramirez

Hide, Show, or Require Questions Based on Answers

The Form Logic feature allows you to create conditions for your forms. You can show or hide a question based on the answer from a previous question, and also require them to answer a question based on the answer. Form logic is available for ticket registration order forms, submission forms for sessions and speaker approval and submission forms for event approval.

Notes:

  • Order Form Logic rules will be carried over to duplicated event and events created through a template.

  • Form Logic will also apply to the form viewed in My Registrations and in the Orders tab when editing the ticket holder and ticket buyer information.

  • You can add logic to text blocks

  • If the logic you need is not available in the settings, you can add custom script to your event to add your own logic.

Before You Begin

Form fields / questions / properties are already created before creating logic rules.

Create Form Logic Rules

When creating logic rules, there's always a trigger and an action. The trigger is the IF part of the settings, and the THEN part is the action.

In this example we want a follow up question to appear if they answer "Other" in the previous question and require them to answer the follow up question.

The initial question is: Do you have any dietary restrictions?

The follow up question is: Please specify your "other" dietary restriction.

IF Settings

In the IF settings, we choose initial question Do you have any dietary restrictions? as the question, the condition or operator is "Is", and the value is "Other"

This means if they selected "Other" when answering the initial question, it will trigger the action below.

THEN Settings

For the action in the THEN settings, we chose Show Field as the action, and chose to show the follow up question "Please specify your "other" dietary restriction."

To make the question required, we add an action to "Require Answer" to the follow up question "Please specify your "other" dietary restriction."

In summary, if they answer that they have another dietary restriction that is not in the choices, the follow up question will show and require them to answer it to ensure that the other dietary restriction is collected when the form is submitted.

Test the Form Logic

If this is for ticket registration, go to your landing page to register or in the Add Attendees tab.

If this is a request form for the other approval workflows, access the form URL to test the logic.

Use Order Form Logic for Recurring Events

If you want to use form logic for recurring events, follow the exact steps below. If you don't follow the correct sequence, you will get an error when you try to save your logic.

  1. Create all the fields BEFORE making it to a recurring event

  2. Change it to a recurring event by clicking Schedule Multiple Events in Event Details

  3. Go to Registration > Order Form and click the dropdown for All Dates

  4. Select a Date

  5. Create the logic while on that date

  6. Repeat step 4 and 5 until you've done it for each date

Did this answer your question?