Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Troubleshooting

Gravity Forms Date Picker Not Working: Causes and How to Fix It

Gravity Forms Date Picker Not Working: Causes and How to Fix It

Short answer

The Gravity Forms date picker usually fails because of a JavaScript error, a script delay or combine setting, or theme CSS hiding the calendar. Check that the field uses the Date Picker input type, read the browser console, exclude jQuery and Gravity Forms scripts from optimization, then run a conflict test.

Key takeaways

  • The calendar only appears when the Date field input type is set to Date Picker.
  • Delay, defer and combine JavaScript settings are the most common cause.
  • A datepicker is not a function error means jQuery UI did not load in time.
  • A hidden calendar is often a z-index conflict with the theme or header.
  • Forms in popups or tabs may miss the script setup that runs on page load.

Why is the Gravity Forms date picker not working?

The Gravity Forms date picker usually stops working because a JavaScript error, a script optimization setting or a theme style conflict prevents the calendar script from running or showing.

The date picker relies on the jQuery UI Datepicker script that WordPress ships with. If that script does not load, loads too late, or is blocked by an error earlier on the page, clicking the field does nothing.

You might see one of these symptoms:

  • Clicking the date field shows no calendar at all
  • The calendar icon is missing or does nothing
  • The calendar opens behind other content or off screen
  • It works on desktop but not on a phone
  • It works on one page but not inside a popup or tab

The table below maps each symptom to the most likely cause, so you can jump to the right fix.

SymptomMost likely causeFirst fix
No calendar on clickJavaScript error or delayed scriptsCheck the browser console
Calendar opens behind contentTheme or builder CSS (z-index)Add a z-index rule for the calendar
Works logged in, fails logged outCache or script optimizationExclude scripts and purge cache
Fails in a popup or modalForm loaded after scripts ranLoad form scripts on the page
Wrong date format or rangeField settings or filterReview the field's date format

Is the field set to use the date picker?

The Date field in Gravity Forms has an input type setting, and the calendar only appears when it is set to Date Picker rather than Date Field or Date Drop Down.

Open the form in the editor, select the Date field and check the Date Input Type option. Date Field shows plain text boxes and Date Drop Down shows select menus, so neither opens a calendar.

With Date Picker selected, you can also choose a calendar icon style. Pick Calendar icon or a custom icon if visitors expect something to click. Save the form and reload the page in a private window.

The official Date field documentation explains each input type and the date format options. If you are new to the plugin, our guide on how to use Gravity Forms covers the form editor basics.

How do you find the JavaScript error behind it?

Open the page, press F12, switch to the Console tab, click the date field and read any red errors, because one broken script can stop the date picker from running.

An error from another plugin, a theme or a custom snippet can halt every script that runs after it. The file name in the error usually points to the culprit.

Common messages include datepicker is not a function, which means jQuery UI did not load or loaded after Gravity Forms, and jQuery is not defined, which means jQuery itself is missing or delayed.

Chrome's Console overview explains how to read these messages. Our guide on how to read the WordPress debug log helps if the problem also leaves PHP warnings behind.

Are cache or optimization settings breaking the date picker?

Yes, this is the most common cause: delay JavaScript, defer, combine and minify options can load jQuery or jQuery UI out of order, so the date picker never starts.

Performance plugins such as WP Rocket, LiteSpeed Cache, Autoptimize and many hosting caches can change how scripts load. The date picker needs jQuery, then jQuery UI Datepicker, then the Gravity Forms scripts, in that order.

Try these steps one at a time:

  1. Turn off Delay JavaScript execution or its equivalent and test.
  2. If that fixes it, turn it back on and exclude jquery, jquery-ui and gravityforms from delay.
  3. Turn off JavaScript combine or concatenation, since this often breaks dependency order.
  4. Purge every cache layer: plugin, host and CDN.
  5. Test in a private window while logged out.

If you use Cloudflare, check whether Rocket Loader is enabled. It rewrites how scripts load and is known to interfere with form scripts. Turn it off or add a page rule for your form pages.

Is the calendar hidden behind other content?

If the date field reacts but nothing seems to appear, the calendar may be opening behind a header, popup or section because of a CSS stacking (z-index) conflict.

Open the developer tools, click the date field and look for an element with the ID ui-datepicker-div in the Elements panel. If it exists and has content, the calendar is open but hidden.

You can bring it forward with a small CSS rule in Appearance > Customize > Additional CSS or your builder's custom CSS area:

#ui-datepicker-div { z-index: 99999 !important; }

Some themes also style tables or buttons globally, which can make the calendar look broken. Gravity Forms includes its own datepicker styles, so check that your theme or a CSS optimization plugin is not removing or overriding them.

Does the form load inside a popup, tab or AJAX content?

Forms loaded after the page has finished, such as inside popups, tabs, sliders or AJAX-loaded content, can miss the moment when Gravity Forms sets up the date picker.

When a page loads, Gravity Forms finds date fields and attaches the calendar. A form injected later may never get that setup. This often happens with popup builders and page builder tabs.

Fixes that usually help:

  • Place the form so its scripts load with the page, for example by using a popup builder that renders content on page load
  • Turn on AJAX for the form embed, so scripts are enqueued correctly
  • Check the popup plugin's documentation for Gravity Forms support
  • Test the same form on a plain page to confirm the popup is the cause

If you use Elementor popups, our guide to Elementor popup settings explains when content loads.

Could another plugin or the theme be causing a conflict?

Yes, a plugin or theme that loads its own copy of jQuery UI, an old jQuery version or a different datepicker library can break the Gravity Forms date picker.

The cleanest test is a conflict check on a staging site:

  1. Switch to a default theme such as Twenty Twenty-Five.
  2. Deactivate every plugin except Gravity Forms.
  3. Test the date field.
  4. Reactivate plugins one by one, testing after each.

The Health Check and Troubleshooting plugin lets you do this only for your own admin session, so visitors are not affected.

Watch for plugins that add their own date pickers, booking calendars, or that replace the bundled jQuery with a CDN copy. Themes that deregister jQuery to save space can cause the same problem.

Why does the date picker not work on mobile?

On phones, the jQuery UI calendar can be blocked by touch handling scripts, viewport issues or a theme that hides overflowing elements, even when it works on desktop.

First, test on a real device and in the browser's device emulation mode. If the calendar opens but sits off screen, a CSS rule on the theme wrapper, such as overflow hidden, may be clipping it.

Some site owners prefer to switch the field to Date Field or Date Drop Down for mobile users, since typing a date can be faster on a small screen. That is a valid workaround if the calendar is not essential.

Also check that a mobile-only optimization setting in your cache plugin is not loading a different script set for phones.

How do you fix the wrong date format, range or disabled dates?

Date format comes from the field's Date Format setting, while ranges, minimum dates and disabled days need the gform_datepicker_options_pre_init JavaScript filter or an add-on.

If the calendar works but the result is wrong, check these:

  • Date Format in the field settings controls mm/dd/yyyy, dd/mm/yyyy and similar formats
  • Conditional logic or calculations that use dates must match that format
  • Default values must also use the same format

To limit selectable dates, Gravity Forms documents the gform_datepicker_options_pre_init filter. It lets you pass jQuery UI Datepicker options such as minDate and maxDate. The jQuery UI Datepicker demos show what each option does.

Add custom JavaScript through a code snippets plugin or your child theme, not by editing plugin files.

What should you check if nothing above works?

If the date picker still fails, update Gravity Forms and WordPress, enable debugging, gather the console error and system status, and contact Gravity Forms support with those details.

Outdated versions can carry bugs that later releases fixed. Our guide on how to update Gravity Forms shows the safe way to do it.

Then collect evidence:

  • The exact console error text and file name
  • Whether it fails for logged-out users only
  • Your cache, CDN and security plugins
  • The Gravity Forms System Status report under Forms > System Status

The WordPress guide to debugging in WordPress explains how to turn on WP_DEBUG and log errors safely. With that information, support can usually pinpoint the cause quickly.

If the form has wider problems, our article on Gravity Forms not working covers broader fixes.

Frequently asked questions

Why does clicking my Gravity Forms date field do nothing?

Either the field is not set to the Date Picker input type, or a JavaScript problem stops the calendar from loading. Check the field settings first, then open the browser console and look for red errors when you click the field.

Can WP Rocket break the Gravity Forms date picker?

Yes. Delay JavaScript execution and combine options can load jQuery UI or Gravity Forms scripts too late or in the wrong order. Exclude jQuery, jQuery UI and Gravity Forms scripts, purge the cache and test while logged out.

How do I stop past dates being selected in Gravity Forms?

Use the gform_datepicker_options_pre_init JavaScript filter to set a minimum date, or use a date-focused add-on. Add the code through a snippets plugin or child theme rather than editing the plugin itself.

Why is the calendar hidden behind my header?

That is usually a z-index conflict. The calendar opens, but a sticky header, popup or section sits above it. A CSS rule giving the datepicker container a higher z-index normally brings it to the front.

Should I switch to a different date input type?

If the calendar is not essential, the Date Field or Date Drop Down input types avoid the datepicker script entirely. Many mobile users find typing a date just as quick, so this is a reasonable fallback.

Sources

  1. Date Gravity Forms Documentation
  2. gform_datepicker_options_pre_init Gravity Forms Documentation
  3. Datepicker jQuery UI
  4. Console overview Chrome for Developers
  5. Rocket Loader Cloudflare Docs
  6. Debugging in WordPress WordPress Developer Resources

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.