Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Date picker not working on your form: how to find and fix it

CNV-012Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A date picker is the form field that lets a visitor choose a date, usually for a booking, a quote, a delivery or a call. It is either the browser's built-in control (<input type="date">) or a script-driven calendar from a plugin or library such as Flatpickr, jQuery UI Datepicker or a form builder's own widget.

It counts as broken or unusable when the calendar never opens, opens off-screen or behind other content, will not accept a tap on mobile, greys out every date, rejects a valid date with an error, or stores the date in a format your calendar or CRM cannot read (for example 03/04/2025 read as March in one system and April in another).

Why it costs you leads or sales

If the date is a required field and the visitor cannot fill it in, they cannot submit. Most will not email you instead; they will try a competitor. Even when the field is optional, a clumsy picker makes the form feel faulty and lowers trust.

A wrong date format is quieter and can be worse. The form submits, you get a lead, but the booking lands on the wrong day or your automation fails. You only find out when a customer turns up, or does not.

Where a broken date picker stops the lead
  1. Ad or search clickVisitor lands on the booking page
  2. Fills name and emailFields work normally
  3. Chooses a dateCalendar will not open or accept a tap
  4. SubmitRequired date missing, form blocked
  5. Lead in inbox and CRMNever created

The visitor reaches the form but cannot complete the required date field.

Form completions with and without a working date pickerExample numbers
Form completions with and without a working date picker (example)Picker works: 40 completions per 100 form starts; Picker broken on mobile: 22 completions per 100 form starts; Picker broken everywhere: 3 completions per 100 form starts0153140223Picker worksPicker broken on mobi…Picker broken everywh…completions per 100 form starts

Example: illustrative numbers only, showing how a blocked required date field can cut completions.

How to check if your site has it

Test the form the way a visitor would, on more than one device. Pickers often work on your desktop and fail on a phone.

Date picker test routine
  • Open the form in a private window on desktop Chrome and click the date field. Does a calendar appear?
  • Repeat on a real iPhone (Safari) and a real Android phone (Chrome).
  • Tap a date. Does it fill the field and close the calendar?
  • Check that today, tomorrow and a date next month can be selected.
  • Check that dates you do not want (past dates, closed days) are blocked and valid ones are not.
  • Type a date by hand, if typing is allowed, and see if it is accepted.
  • Submit the form and open the received email or CRM record. Is the date correct and in a format you can read?
  • Open the browser console (F12, then Console) and look for red JavaScript errors when the page loads and when you click the field.
  • Test inside any popup, modal or accordion that holds the form.
Common symptoms and likely causes
SymptomLikely cause
Nothing happens on clickJavaScript error or script conflict; library not loaded
Calendar appears behind the form or popupz-index or overflow: hidden on a parent container
Works on desktop, not on mobileCustom picker too small to tap, or touch events blocked
Every date greyed outMin/max or disabled-dates rule wrong, often a stale fixed date
Date saved as the wrong dayFormat mismatch (DD/MM vs MM/DD) or time zone shift
Field is read-only and emptyPicker script failed, so the read-only input cannot be typed in
Calendar hidden behind another element

The visitor clicks the date field, but the calendar opens underneath a container and cannot be used.

How to fix it

Fix a broken date picker
  1. Find the error

    Open the console on the form page. A red error such as 'flatpickr is not defined' or '$ is not a function' tells you a script is missing or loaded in the wrong order.

  2. Remove conflicts

    Temporarily disable recently added plugins, apps or tag manager scripts. If the picker returns, re-enable them one by one to find the culprit. Two copies of jQuery or two date libraries are common causes.

  3. Fix stacking and clipping

    If the calendar is hidden, raise its z-index and check that no parent has overflow: hidden. See the CSS example below.

  4. Correct the date rules

    Check minimum date, maximum date and disabled days. Replace any fixed past date with a rule such as 'today' so the calendar does not lock itself after a deadline.

  5. Match the format to your systems

    Make the displayed format clear to the visitor and the stored format unambiguous. ISO format (YYYY-MM-DD) is the safest for CRMs and calendars.

  6. Consider the native input

    On mobile, the browser's own type="date" control is often more reliable than a custom widget. Use it if you do not need complex rules.

Where to fix it on your platform
  1. Check the form plugin's field settings

    In Contact Form 7, Gravity Forms, WPForms or Fluent Forms, open the form and the date field. Check the date format, min/max dates and whether it uses the native or a calendar picker.

  2. Test for plugin and theme conflicts

    Switch to a default theme on a staging copy and deactivate other plugins to see if the picker works. Reactivate until it breaks.

  3. Clear caches and minification

    If a caching or optimisation plugin combines or delays JavaScript, exclude the picker script from minify, combine and delay settings, then purge the cache.

Native date input with a sensible minimumhtml
<label for="visit-date">Preferred date</label>
<input type="date" id="visit-date" name="visit_date" required>
<script>
  var el = document.getElementById('visit-date');
  var today = new Date().toISOString().split('T')[0];
  el.min = today;
</script>
Stop a calendar being hidden or clippedcss
.flatpickr-calendar { z-index: 99999 !important; }
.form-wrapper,
.form-wrapper * { overflow: visible; }

How to confirm it's fixed

Fix confirmation
  • The calendar opens on desktop and on a real iPhone and Android phone.
  • A tapped date fills the field and the calendar closes.
  • The console shows no new red errors when the page loads or the field is used.
  • Valid dates can be chosen and invalid ones are blocked.
  • A test submission arrives in the inbox and CRM with the right date.
  • The picker still works after clearing the site cache and inside any popup.
Date field before and after the fix

Broken

  • Calendar does not open on mobile
  • Popup hidden behind the form container
  • Dates saved as 03/04 with no clear format
  • Required field blocks every submission

Fixed

  • Calendar opens and accepts a tap
  • Popup shows above other content
  • Date saved as 2025-04-03 and read correctly
  • Visitors submit and leads reach the CRM

How to prevent it happening again

Prevention habits
  • Test the date field on a phone after every theme, plugin, app or tag manager change.
  • Update form and booking plugins on staging first.
  • Avoid fixed dates in min/max rules; use 'today' and relative ranges.
  • Avoid loading two date libraries or two copies of jQuery.
  • Use one agreed date format across form, CRM and calendar.
  • Add a monthly calendar reminder to submit a real test booking and check the record.

How FunnelGuard handles this

FunnelGuard does not check date or time pickers yet. It is a possible future check, so today a broken calendar on your form would not be picked up by it.

What FunnelGuard does do nearby: a robot visitor runs your real lead-form journeys on a schedule from the EU or the US, checks each step, the tracking hits sent to platforms such as GA4, Google Ads and Meta, and whether test leads reach the inbox and CRM. If a form stops working for other reasons, such as the page erroring or the lead never arriving, a failure is re-checked from a second region and one alert goes out with a screenshot and a likely cause.

For the date picker itself, use the manual test routine above after every change, and check a real test lead's date in your CRM. A browser testing tool you already use can also script a click on the date field, but you would need to set that up yourself. You can start with the Free plan (1 site, 2 journeys, daily checks, no card) or ask for the free read-only website audit.

Questions people ask

Why is my date picker not opening on my website form?

The most common cause is a JavaScript error or a script conflict, such as a missing library or two copies of jQuery. Open the browser console (F12) and look for red errors when you click the field. Then disable recent plugins or tags one at a time to find the clash.

Why does my date picker work on desktop but not on mobile?

Custom calendars can have tap targets that are too small, or touch events blocked by an overlay. Test on a real phone, not just a resized desktop window. Switching to the native type="date" input often fixes it, because phones provide their own date control.

Why is my calendar hidden behind the form or popup?

It is usually a stacking or clipping problem. A parent element with overflow: hidden, or a calendar with a lower z-index than the popup, hides it. Set the parent's overflow to visible and raise the calendar's z-index.

Why are all dates greyed out in my date picker?

The minimum, maximum or disabled-dates rule is probably wrong. A fixed date in the past, or a booking window that has ended, will block everything. Replace fixed dates with a rule like 'today' and check the plugin's availability settings.

Why does my form save the wrong date?

This is usually a format mismatch, for example DD/MM/YYYY read as MM/DD/YYYY, or a time zone shift. Send the date in YYYY-MM-DD format and check a real test lead in your CRM or calendar to confirm the day is right.

Should I use type=date or a JavaScript date picker library?

Use the native type="date" input if you only need simple selection, since browsers handle it well on mobile. Use a library when you need blocked days, ranges or custom styling, and test it carefully on phones.

Does FunnelGuard check if my date picker works?

No. FunnelGuard does not check date or time pickers yet; it is a possible future check. It does run your lead-form journeys and checks steps, tracking and whether test leads arrive, so use the manual test routine for the date field itself.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.