πŸŽ‰ Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

How can we help you?

Find answers, tutorials, and guides to get the most out of Gravity Extra add-ons. (DEV Preview)

Gravity Forms Advanced Start/End Date/Time Range Selection Field

Last updated: September 11, 2026 β€’ Author: Bong Huynh
Table of Contents

β–Ά
Interactive Sandbox Available

Experience the Live Date & Time Range Picker

Want to see how the linked dual calendars, 24h/12h time pickers, and quick preset shortcuts perform in real time before configuring your form? Test our live interactive demo sandbox.

1. Overview & Architectural Benefits

When collecting date ranges in Gravity Formsβ€”such as hotel reservations, equipment rentals, multi-day event bookings, or shift schedulingβ€”the traditional approach requires creating two separate Date fields (one for “Start Date” and one for “End Date”). This traditional multi-field method introduces severe usability and technical challenges:

  • Reverse Date Vulnerability: Respondents can easily submit an end date that occurs before their start date, causing booking conflicts unless you write complex custom JavaScript validation.
  • Double Click Fatigue: Users must click into two separate fields and interact with two independent calendar popovers, increasing mobile abandonment rates.
  • Lack of Time Coordination: If you also need check-in and check-out times, you must add two additional Time fields, ballooning your form to four distinct inputs for a single reservation.

The Advanced Start/End Date/Time Range Selection Add-on solves this entirely by introducing a native, unified custom field that combines start dates, end dates, and exact arrival/departure times into a single intuitive dual-calendar popup.

Key Advantage: Continuous Range Shading
When a user hovers over calendar dates, the entire span between the start date and the hovered date is highlighted continuously in real time, giving users instant visual confirmation of their selected duration.

2. Installation & License Activation

  1. Log in to your WordPress dashboard and navigate to Plugins → Add New.
  2. Click Upload Plugin, select the add-on ZIP file downloaded from your GravityExtra account, and click Install Now.
  3. Once uploaded, click Activate Plugin.
  4. Go to Forms → Settings → License, enter your license key, and click Activate License to enable one-click automated updates and support.

3. Adding the Field to Your Form

Once the add-on is activated, a new dedicated field labeled Date Time Range Selection becomes available in your Gravity Forms form editor under the Advanced Fields drawer.

Date Time Range Selection Field in Advanced Fields
Figure 1: Locating the Date Time Range Selection field in the Advanced Fields palette

Click or drag the Date Time Range Selection button into your form canvas. Click on the field to open the Field Settings sidebar where you can configure the general field attributes:

General Field Settings for Date Time Range Selection
Figure 2: Configuring General Field Settings (Field Label, Description, and Required Status)
  • Field Label: Give your field a descriptive title such as Reservation Dates, Rental Period, or Project Window.
  • Description: Provide optional instructions to guide respondents (e.g., “Select your arrival date and departure date from the calendar.”).
  • Rules (Required): Mark the field as required to prevent empty submissions.

4. Calendar Display, Alignment & Dropdown Positioning

Because forms vary widely in width, column arrangements, and page placement, the add-on offers granular control over how the calendar modal pops up on screen.

Alignment Settings (Opens & Drops)

Under the field settings, you can adjust the alignment of the picker container relative to the input field:

Configuring Picker Alignment (Opens)
Figure 3: Configuring Picker Alignment (Opens: Left, Right, Center)
  • Opens (Horizontal Alignment): Choose whether the picker aligns to the Left, Right, or Center of the input field. For fields placed in the right column of a 2-column layout, choosing Left prevents the popup from clipping off the screen edge.
Configuring Picker Vertical Position (Drops)
Figure 4: Configuring Picker Vertical Position (Drops: Down or Up)
  • Drops (Vertical Positioning): Choose Down to display the calendar below the input (standard) or Up (Dropup) if the field is situated near the bottom of a modal or footer.

Single vs. Linked Dual Calendars

Advanced Calendar Display Options
Figure 5: Advanced Calendar Options (Single Date Picker, Linked Calendars, Dropdowns, and Auto-Apply)
  • Single Date Picker: When enabled, transforms the picker into a single calendar for capturing a single specific date while retaining all advanced formatting and time features.
  • Linked Calendars: When enabled (recommended for ranges), the two side-by-side calendars always show consecutive sequential months (e.g., May & June). Clicking navigation arrows moves both calendars simultaneously. When disabled, users can navigate each month pane independently.
  • Show Dropdowns: Displays convenient Month and Year select dropdowns at the top of each calendar, allowing users to jump directly to past or future years without clicking next/previous dozens of times.
  • Empty by Default: Leave the input field blank until the user explicitly selects a range, preventing accidental submissions with prefilled default dates.

5. Integrated Time Selection (12-Hour vs. 24-Hour Format)

For rental businesses, meeting rooms, or appointment scheduling, dates alone are not enough. The add-on includes a built-in time picker slider directly beneath the dual calendars:

Hour Format Selection (12 or 24 Hours)
Figure 6: Choosing Hour Format (12-Hour AM/PM or 24-Hour Military Format)
  • Hour Format: Choose between 12 (with AM/PM selector) and 24 (00:00 to 23:59).
  • Disable Time Input: If your form only requires dates without specific times (e.g., vacation leave requests), you can toggle this option to completely hide the time selector and save vertical height.

6. Predefined Quick Presets Sidebar

For reporting filters, analytics queries, or expedited booking flows, users often want common ranges like “This Month” or “Last 7 Days” without manually clicking start and end days.

Frontend Range Picker with Predefined Presets Sidebar
Figure 7: Live range picker with predefined presets sidebar and highlighted span

When Pre-defined presets of date ranges selection is checked, a responsive sidebar appears alongside the dual calendars with instant one-click shortcuts:

  • Today & Yesterday
  • Last 7 Days & Last 30 Days
  • This Month & Last Month
  • Custom Range (activates manual calendar selection)

7. Date Constraints, Min/Max Year & Disabled Weekdays

Prevent users from submitting impossible booking dates with built-in boundary validation rules:

Setting Min Date, Min/Max Year and CSS Classes
Figure 8: Date Constraints, Min/Max Year Boundaries, and Custom CSS Classes
  • Min Date: Restrict the earliest date selectable. For future bookings, setting this to the current date prevents respondents from picking past days.
  • Min Year & Max Year: Define the allowable year boundary window inside the header dropdowns.
  • CSS Classes: Add custom styling classes to seamlessly match your theme.

Disabling Specific Days of the Week (Business Days / Weekends)

Disable Specific Days of Week in Calendar
Figure 9: Disabling Specific Days of the Week (e.g. Saturdays & Sundays)

If your office, rental facility, or clinic is closed on weekends or specific weekdays, the Disable Dates in Week feature allows you to grey out individual days (e.g., Saturday and Sunday). Users cannot click or select any disabled days, eliminating manual follow-up cancellations.

8. Custom Localization & Button Labels

Adapt the picker interface to any international language or customized branding without editing JavaScript files:

Custom Localization, Button Labels, and Date Formats
Figure 10: Localization Settings (Custom Apply/Cancel Button Labels and Separators)
  • Custom Date Format: Specify standard formats such as MM/DD/YYYY, DD/MM/YYYY, or YYYY-MM-DD.
  • Custom Apply & Cancel Labels: Change the action button text (e.g., “Confirm Dates”, “Reset”).
  • Custom Separator: Define the delimiter character displayed between start and end dates (e.g., - or to ).
  • Days of Week & Month Names: Pass custom localized arrays for multi-language WordPress sites.

9. Entry Management, Merge Tags & Troubleshooting FAQs

When a form is submitted, the complete selected timeframe is saved directly into the Gravity Forms Entry database:

Gravity Forms Entry View with Captured Date Range
Figure 11: Gravity Forms Entry Detail View with Captured Start/End Date Range

Using Merge Tags in Confirmations & Notifications

You can embed the selected range directly in admin notification emails, customer booking receipts, and PDF tickets using standard Gravity Forms merge tags:

  • {Reservation Dates:1} — Outputs the complete formatted range (e.g., 15/10/2026 09:00 - 20/10/2026 18:00).
  • {all_fields} — Automatically renders the range selection row within entry tables.

Frequently Asked Questions (FAQ)

Q: Does the add-on work with multi-page Gravity Forms?
Yes. The add-on dynamically hooks into Gravity Forms AJAX page navigation and initializes cleanly across all pages without requiring page reloads.
Q: Can I use this add-on on mobile devices?
Yes. On smaller smartphone screens, the calendar automatically collapses into a stacked responsive viewport with touch-friendly date cells and clear action buttons.
Q: How do I calculate the total number of days selected?
The add-on stores precise ISO timestamps. You can pair it with standard Gravity Forms pricing calculation fields or custom merge filters to compute total billable nights or hours.

Need Help with Complex Booking Workflows?

Our support team is always ready to assist you with custom configurations, theme integrations, or localization.

Contact Support β†’

Was this article helpful?

Let us know how we can improve our docs.

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
⚑

Max β€” GravityExtra Copilot

Online β€’ AI Copilot
🎁 15% VIP Discount Coupon
πŸ” Find My Addon πŸ“¦ All-Access Pass ⚑ Compatibility