Back to Integrations Guides

This guide applies to:

  • Basic Edition
  • Plus Edition
  • Pro Edition
  • Business Edition

Introduction

Use Formidable Forms to create complex booking forms using conditional logic; this will allow you to display specific booking calendars or fields depending on a user’s previous choices in the form.

Potential Use Cases

  • Guide visitors to book with the correct department or person.
  • Help people book an event depending on their preferences, including add-ons.

What You Need First

  1. Formidable Forms installed and activated. Including their Basic, Pro, Elite, or Developer plan.
  2. Go through the Setup Wizard in SSA and finish setting up your Booking Calendar rules and styling.
  3. To get started on how to set up a basic Formidable Forms form, please refer to our guide on the initial form setup.

Initial Set Up for Appointment Types

By using conditional logic, you can easily direct users to a specific Appointment Type.

First, you’ll need to create different Appointment Types to accommodate all the different services and combinations.

Screenshot depicting the Appointment Types created.
List of Appointment Types needed for set up

Setting Up the Form

After creating all the required Appointment Types, create a new form with Formidable Forms and start with the required Name and Email fields.

Name and Email are required on your Formidable Form, or else all the appointments listed in SSA will be indistinguishable.

To use conditional logic, you’ll need to make sure to include

  1. Field(s) to filter which booking calendar to display to the user, and
  2. Each individual appointment type added to the form.

Using Fields to Filter the Booking Calendar Displayed

You’ll have a few different options to decide how you want to filter the booking calendars:

  • Radio Buttons: This option is best when you want to offer only a single service or specific packages.
  • Drop Down: This option is similar to the Radio Buttons option. You can use this if you would like your form to appear shorter if you offer many different services.
  • Checkboxes: This option is best when you want your users to have the ability to mix and match different options instead of creating multiple Radio Buttons.

For this example, I will be utilizing Radio Buttons. By default, Formidable Forms will provide 2 options. You can easily add more options if needed.

Adding the radio buttons field and editing it

Adding the Appointments Field(s)

Next, you’ll add the Appointment field to your form. Since there are multiple Appointment Types, you’ll need to add each one of them individually. If you have 10 appointment types you want to include, you’ll need to add 10 Appointment fields to your Formidable Form.

Make sure to edit the Appointment field settings:

  • Appointment Type dropdown: By default, this is set to ‘All’, but you’ll need to choose a specific appointment type.
  • Required: Make sure to turn on the ‘Required’ toggle so that you can make sure a user books a time before they submit their booking form.
Adding Appointment field to form

To make it easier for you to add multiple Appointment fields, after adding one Appointment field to your form, you’ll be able to duplicate it. Unfortunately, the settings do not transfer over, so you would have to adjust all the settings again manually.

Duplicate the Appointment field

Now that you have all of your Appointment Types in the form, you’ll be able to start creating conditional logic!

It is highly recommended that you save your form after adding all of your appointments before adding conditional logic!


Creating Conditional Logic

To create conditional logic, you’ll need to click on the Appointment Type module in Formidable Forms and view the settings. There will be a button called Add Conditional Logic. Click on the button to bring up its settings.

After clicking the button, you’ll see the different fields to adjust according to how you’d like to filter the booking calendars.

Screenshot depicting an example of Conditional Logic rules.
The default Conditional Logic settings

If you’d like more detail on what you can do with the Conditional Logic settings, visit Formidable Forms’ documentation to learn more.

Creating a Single Conditional Logic Rule

To create conditional logic for my “Consultation Call – Design” appointment, I’ll need to make sure that the booking calendar only displays if the “Design” checkbox is selected in my “What services are you booking?” field. To do this, I need to make sure to:

  • Select the Radio Button Field Label. In this case, it would be “What services are you booking?”
  • Select the Radio Button option you want to filter it to. In this case, it would be “Design.”

The options you choose are the Field Label names when you created each form element, so make sure you choose helpful and clear names!

Creating Multiple Conditional Logic Rules

You can easily add multiple rules by clicking on the Add + button. Multiple Conditional Logic works best with Checkboxes or if you want to direct your users to different sets of specific form elements based on the different answers they choose from other form fields.


Test the Form

Now that you have completed implementing all of your conditional logic, the only thing left is to test out your form! You can easily preview this form by clicking on Preview and choosing either “On a Blank Page” or “In Theme.”


Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.