Back to Questions Guides

This guide applies to:

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

Introduction

In this guide, we will go over how to use our custom mini plugin to adjust the Pending Form submission duration for bookings made using the Gravity Forms or Formidable Forms integration.


When is the Pending Form Status used?

We want to review how Simply Schedule Appointments works in preventing double bookings in our form integrations. Specifically answering:

When two people are trying to book the same time slot in Gravity or Formidable Forms, who gets the slot?

The answer: Whoever picks the time slot first — for the most part.

In our standard booking form for SSA, an appointment gets booked the instant someone submits the form.

But, when SSA is used within one of the form builder integrations, we mark a time slot as “pending” right after someone selects the time.

When a time slot is marked as “pending,” it becomes immediately unavailable for other users to select and book.

Screenshot depicting what happens when two users are booking for the same time slot at the same time.
Gravity or Formidable Forms Pending Functionality, pending form submission

If someone tries to select the same time slot, they’ll receive the message, “Sorry, that time was just booked and is no longer available. Please choose another time.” and they’re taken back to the time selection screen.

The “pending” status is active for 60 minutes, and if the user’s 60-minute timer runs out, then we release the time slot and remove the pending status. After this, any user can book that specific time slot.

We designed it this way because SSA doesn’t have a way to interrupt a Formidable or Gravity Form from being submitted.

Double-Booking Prevention Example

Let’s say Mary chooses to book an appointment on July 16 at 9 AM. She selects that time slot in the Formidable/Gravity Form. SSA marks the time slot as “pending” and starts the 60-minute timer.

But, Mary remembers that she has to go pick up her kids from school, so she doesn’t have time to submit the form. During those 60 minutes, the time slot is not listed as available. 60 minutes later, Mary does not submit her form because she was still away from her computer.

Now, John is looking at your form; he wants to book an appointment on July 16 at 9 AM. Since Mary has left her time slot unattended for over 60 minutes, it appears available for John.

John chooses the same time slot and books within a minute. He successfully booked July 16 at 9 AM.

Mary returns to finish the booking, but it’s too late; her appointment is marked as abandoned even if she submits her form.


Install and Activate the mini plugin

If you’d like to extend or shorten the 60-minute pending duration, you can install a mini plugin we’ve created for this from our Github repo here.

Here’s an instant download link for the mini plugin if you’re unfamiliar with using Github.

Once you’ve downloaded the plugin zip from GitHub, you’ll need to install it by going to your WordPress Dashboard > Plugins > Add New > Upload Plugin. Choose the zip file for the mini plugin.

After the plugin finishes installing, go ahead and Activate it.

Installing the miniplugin and activating
Install Complete, then activate the plugin

Edit the Pending Form Duration

To edit the pending duration:

  1. Install and activate the mini-plugin
  2. Go to the WordPress Plugin Editor on your site
  3. Open the SSA Customization plugin files using the dropdown in the top right corner
  4. Edit the plugin where it says “10”, enter your desired duration in minutes, and save.
Editing the pending timer duration for Gravity or Formidable Forms

We also have a filter for the pending_form duration. Please view this guide to learn more.


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.


Related Guides