🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 31, 2026

How to Open and Close Gravity Forms on Business Hours and Holidays

GravityExtra
How to Open and Close Gravity Forms on Business Hours and Holidays

A form that is always open makes a promise your team cannot always keep. A takeaway order that arrives at 23:40 after the kitchen has closed, a call-back request sent on a bank holiday, an urgent support ticket that sits unread all weekend: each one starts with a visitor who expected an answer and ends with a disappointed customer. The form did its job. The problem is that it did not know your hours.

Gravity Forms can schedule a form between one start date and one end date, which is perfect for a competition or a registration window. It cannot repeat that every day, skip lunch breaks, or stay shut over Christmas. This guide explains how to give your forms real business hours: when to close a form completely, when to keep it open with an honest after-hours message, how to handle holidays and pauses, and how to make sure the right people are told about after-hours entries.

It is written for site owners, office managers and the developers who build their sites. The examples use the Gravity Forms Weekly Form Schedule & Closures add-on, but the planning questions apply to any form that people send when nobody is there to read it.

An order page outside opening hours with a Closed badge, the weekly hours table and a closed message giving the next opening time
A takeaway order form between lunch and dinner service.

Which forms need business hours?

Not every form should close at night. A newsletter sign-up or a contact form for general questions can stay open all the time, because nothing goes wrong if the reply comes the next morning. Business hours matter when a submission creates an expectation of fast action. Ask two questions about each form:

  • Does the visitor expect something to happen soon? An order for collection, a same-day booking request, a call-back request or a request for urgent help all carry a time promise.
  • Can you deliver on that promise outside your hours? If the kitchen is closed, the phone team has gone home or the clinic is shut, the honest answer is no.

When both answers point to a gap, the form needs a schedule. Typical examples are restaurant and takeaway ordering forms, click-and-collect forms in shops, call-back and quote request forms for trades, clinic and pharmacy request forms, IT and facilities support forms, school admissions or enquiry windows, and any form that feeds a team working in shifts.

Close the form, or keep it open with a notice?

Once you know a form needs hours, decide what visitors should see outside them. There are two good answers, and they suit different forms.

Close the form and show a message

Closing is right when an entry outside the hours would be a problem. A food order nobody can cook, a same-day slot nobody can confirm, or a ticket that promises a response time you cannot meet should not be accepted at all. The visitor sees a short message instead of the form: that you are closed now and when you open again. That last part matters. “We are closed” is a dead end; “We take orders again today at 5:00 pm” is a plan the visitor can act on.

With the add-on, choose Your closed message instead of the form. The form is hidden while closed and, just as important, every submission is checked again on the server at the moment it arrives. A visitor who left the page open since lunch, or someone who posts the form directly, is refused in the same way. The message is yours to write, with placeholders such as {next_open} (“today at 5:00 pm”, “tomorrow at 9:00 am”, “on Monday at 11:30 am”) and {hours_today}.

Keep the form open with an after-hours notice

For enquiries and call-backs, refusing the visitor often loses the lead. A better answer is to accept the form and set the expectation: “Our phone team is offline right now. Leave your number and we will call you back tomorrow at 9:00 am.” The visitor is not left waiting for a call that will not come tonight, and you still get the details.

A call-back form on a phone after hours, with an amber notice saying the team will call back tomorrow at 9:00 am
An after-hours notice keeps the lead and sets the expectation.

Choose The form with an after-hours notice for these forms. Every entry is marked “In opening hours” or “Outside opening hours”, which becomes useful later for routing and reporting.

Writing your weekly hours

Real opening hours are rarely “9 to 5, Monday to Friday”. A restaurant has a lunch service and a dinner service with a gap in between. A bar stays open past midnight on Fridays. A clinic closes early on Wednesdays. Your form schedule should match the way you actually work, so it needs:

  • Several windows per day, for example 11:30–14:00 and 17:00–21:30.
  • Overnight windows, such as Friday 22:00 until 02:00, that run into the next morning.
  • Different hours per day, including days that are closed.
  • The right time zone, which matters when your website is hosted far from your office or serves several offices.

In the add-on, open the form and go to Settings → Weekly Schedule. The weekly grid has one row per day: switch the day on, set the opening and closing time, and click Add hours for a second window. If you prefer to type, Edit as text takes lines such as Mon-Fri 9am-5pm or Fri 22:00-02:00. Windows that touch each other count as one opening, so a form open 12:00–14:00 and 14:00–18:00 does not close for a moment at 14:00. Because the hours follow the local clock in your chosen time zone, the change to and from summer time needs no attention: 09:00 is 09:00 all year.

The weekly hours grid with lunch and dinner windows on weekdays, Saturday closed and Sunday open in the afternoon
Setting the weekly hours of a form.

Holidays, closures and pauses

Weekly hours handle the normal week. Every business also has days that break the pattern, and forgetting them is the most common reason a scheduled form lets people down.

Public holidays and planned closures

List them once and let them repeat. A closure can be a single date (2026-12-25 | Christmas Day), a range (2026-12-24 to 2026-12-31 | Closed for the holidays), or a date that repeats every year (12-26 | Boxing Day, or 12-31 to 01-01 | New Year across the year end). The reason after the vertical bar is shown to visitors through the {closure_reason} placeholder, so the message can say why you are closed. When the form works out the next opening time, it skips every closure: on Christmas Day the message correctly says you open again on the Monday after Boxing Day and the weekend, not tomorrow.

A good habit is to add next year’s movable holidays when you take down the decorations. Fixed dates only need entering once.

Unplanned pauses

Sometimes you need to stop a form today: the kitchen is being refitted, a key ingredient has run out, half the team is off sick. The Pause setting closes the form outside the weekly rules. Choose “closed until I switch this back” for an open-ended pause, or “closed until a date and time” to have the form reopen by itself, after which the weekly hours apply again. A separate pause message lets you explain what is happening without editing your normal closed message.

The visitor who is halfway through

Imagine someone starts a long order at 13:52 and presses Send at 14:01, one minute after closing. Refusing them is technically correct and practically rude. The grace period solves this: submissions are accepted for a number of minutes after each closing time (10 by default). New visitors already see the form as closed, so the window cannot be used to start a new order. Entries that arrive during the grace period are marked “Outside opening hours” with the reason “grace period after closing”, so your team knows they came in at the very end of the day.

Cached pages: the hidden trap

Most WordPress sites cache their pages to make them fast. That is good for visitors and a hidden trap for scheduled forms: a page cached at noon can keep showing an open form long after closing time, or a closed message long after opening time. Any schedule that only decides when the page is built will be wrong for some of your visitors.

The add-on deals with this in two ways. First, when a page with a scheduled form loads, a small script asks your server for the current state and shows or hides the form accordingly, so a stale cached copy is corrected straight away. Second, the same script asks again at the next opening or closing time, so a page left open on a screen switches by itself at 17:00. The answer is never cached, and the server always checks submissions again, so the script can only ever make the page more accurate, never let a closed form through.

Routing after-hours entries

When the form stays open after hours, the next question is who should hear about it. Office staff do not want their inbox to fill overnight with messages they cannot act on, while an on-call manager may need to know about an urgent request straight away.

Every notification of a scheduled form gets a Send by opening hours setting: always, only for entries sent in opening hours, or only for entries sent outside them. A typical setup has three notifications: the kitchen or the team always gets the entry, the office inbox gets entries sent in hours, and the on-call address gets entries sent after hours. The setting works next to the notification’s own conditional logic, so you can still route by topic or location as well.

The same information is available in confirmations and e-mails through merge tags. {submitted_in_hours} returns Yes or No, which lets a confirmation say “we will call you within the hour” or “we will call you back tomorrow”. {schedule_next_open} gives the next opening and {schedule_hours} prints the weekly hours as a table.

Reporting on after-hours demand

After a few weeks, the entries tell you something valuable: how much demand arrives when you are closed. On the Entries screen, add the Sent in opening hours column and filter by “Outside opening hours”. If a third of your call-back requests arrive on Saturday mornings, that is a strong argument for staffing Saturday mornings. Each entry also shows why it arrived outside the hours: outside the weekly hours, on a closure day, during a pause or in the grace period.

The Entries screen with a Sent in opening hours column
In-hours and after-hours entries side by side.

Show your hours next to the form

A closed message works best when visitors already know your hours. The shortcode [gf_weekly_schedule form="1"] prints an open-now badge, the weekly hours with today highlighted and the closures of the next two months. Place it above the form, on your contact page or in a sidebar, and it always matches the schedule the form follows, because both come from the same settings. Like the form, the badge corrects itself on cached pages.

A checklist for scheduling a form

  • Decide per form: close it outside the hours, or keep it open with a notice.
  • Enter the real hours, including breaks and late nights, in the right time zone.
  • Add public holidays and planned closures, using yearly dates where possible.
  • Write a closed message that says when you open again, not only that you are closed.
  • Keep a short grace period for visitors who are already filling in the form.
  • Route after-hours notifications to the people who can act on them.
  • Show your hours next to the form, and check the Status box after every change.
  • Review after-hours entries monthly to see where demand is going unanswered.

Frequently asked questions

Does this replace the Gravity Forms schedule setting?

No. The built-in setting opens a form once between two dates. Weekly Form Schedule repeats every week and adds holidays and pauses. You can use both; the form is available only when both allow it.

Can a visitor get around a closed form?

No. Submissions to a closed form are refused on the server when they arrive, including direct posts and submissions through the Gravity Forms API.

Does it work with page caching?

Yes. The form checks its state with your server when the page loads and again at the next opening or closing time.

Does it send data to outside services?

No. Everything runs on your own WordPress site. Only the licence and update checks contact GravityExtra.

Get started

Business hours are a promise. Giving your forms the same hours as your team keeps that promise on nights, weekends and holidays without anyone remembering to switch a form off. Read the setup guide for every option, or see the Gravity Forms Weekly Form Schedule & Closures add-on to schedule your first form today.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr