Skip to content
FunnelGuard

Fix guide by FunnelsGuard

iOS Safari date input broken: how to fix form validation

PRF-185Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A date input (type="date") is a form field that asks the browser to show a date picker. On iOS Safari, that picker is a native Apple wheel or calendar. It does not look like the one in Chrome on desktop, and you have limited control over its styling.

The bigger problem is behaviour. The field always sends its value as YYYY-MM-DD, whatever the user sees on screen. If the field is required, empty, or outside min and max, Safari can block the submit. Custom scripts that expect a typed format like DD/MM/YYYY can also fail.

Why it costs you leads or sales

Many bookings, quote requests and age-checked sign-ups include a date. If the field blocks submission on iPhones and shows no clear message, visitors tap the button, nothing happens, and they leave. Mobile traffic often leans towards iPhones, so you lose people who were ready to convert, and your ad spend is wasted on them.

Where an iPhone visitor is lost
  1. Ad clickVisitor lands on mobile page
  2. Fill in formName and email entered
  3. Date fieldEmpty, invalid or out of range on Safari
  4. SubmitBlocked, no clear message
  5. Lead in CRMNever arrives

The date field fails silently, so everything after it is lost.

Form completion by browserExample numbers
Form completion by browser (example)Chrome desktop: 12 %; Chrome Android: 10 %; iPhone Safari: 3 %05912103Chrome desktopChrome AndroidiPhone Safari%

Example: illustrative numbers showing a form that completes less often on iPhone Safari because of a date field problem.

How to check if your site has it

Test the date field on an iPhone
  1. Open the page on a real iPhone

    Use Safari, not Chrome for iOS in desktop mode. A desktop browser's mobile emulator does not reproduce Apple's native picker.

  2. Fill every field except the date

    Tap submit. If the field is required, you should see a clear message pointing to it. If nothing happens, the error is hidden.

  3. Pick a date and submit

    Check the date appears in the field, the form sends, and the confirmation or thank-you page loads.

  4. Try edge dates

    Pick today, a past date and a date far in the future. Compare with your min and max rules.

  5. Inspect the markup

    On a Mac, connect the iPhone and use Safari Develop menu > your iPhone to open Web Inspector. Look at the input's type, min, max, required and value attributes.

  6. Check the received lead

    Confirm the date in the email or CRM is correct and in the format you expect.

How to fix it

Start with the markup. A clean native date field works on iOS if its value and limits are valid. Then add your own visible error message, because Safari's built-in one can be easy to miss.

A safe date field for iOS Safarihtml
<label for="visit-date">Preferred date</label>
<input
  type="date"
  id="visit-date"
  name="visit_date"
  min="2025-01-01"
  max="2026-12-31"
  required
  style="font-size:16px">
<p id="visit-date-error" role="alert" hidden>Please choose a date.</p>
Show a visible error instead of a silent blockjavascript
const form = document.querySelector('form');
const date = document.getElementById('visit-date');
const err = document.getElementById('visit-date-error');

form.addEventListener('submit', (e) => {
  if (!date.value || !date.checkValidity()) {
    e.preventDefault();
    err.hidden = false;
    date.focus();
  } else {
    err.hidden = true;
  }
});
Fix by platform
  1. Check the form plugin's date field

    In your form builder (Contact Form 7, Gravity Forms, WPForms and similar), open the date field settings. Prefer the native date type, and check min, max and required settings.

  2. Disable conflicting pickers

    If a plugin loads a JavaScript date picker on top of the native one, turn the plugin's picker off for that field or switch to the plugin's own picker only.

  3. Remove theme CSS that hides the input

    Search your theme or Customizer Additional CSS for rules using appearance: none or opacity: 0 on date inputs.

General fix steps
  1. Use type="date" with ISO values

    Any default value must be YYYY-MM-DD. Anything else leaves the field empty on iOS.

  2. Review min and max

    Make sure the allowed range includes today and future dates. Expired limits block every choice.

  3. Add a visible error message

    Show text next to the field when it is empty or invalid.

  4. Consider making it optional

    If you do not need the date to qualify the lead, make the field optional.

  5. Keep styling light

    Set a height, 16px font size and padding. Avoid hiding the native control.

What a required date field does on iPhoneInteractive
Date field is required with no visible error

Phone number * required

Visitors who start the form and send it (example)

42% send it · example numbers

The visitor taps submit, nothing visible happens and many leave without a lead.

Toggle to see how the date field affects submissions.

Date field before and after

Before

  • Default value in DD/MM/YYYY, so the field shows empty
  • Min date set in the past
  • Hidden native control, custom picker on top
  • No visible error on submit

After

  • Value in YYYY-MM-DD
  • Range includes today and future dates
  • Native control visible, 16px text
  • Clear error message and focus on the field

How to confirm it's fixed

Confirmation checks
  • On a real iPhone in Safari, the date picker opens when you tap the field
  • The chosen date shows in the field
  • Submitting with an empty date shows a visible message
  • Submitting with a valid date reaches the thank-you page
  • The email or CRM record shows the correct date
  • Conversion tags still fire after the submit

How to prevent it happening again

Prevention habits
  • Test every form with a date field on a real iPhone after each theme, plugin or builder update
  • Avoid hard-coded min and max dates that expire; set them with code
  • Keep one date picker per field, not a native one and a script on top
  • Add visible error text to every required field
  • Re-test after changing form styling or adding a consent or popup tool

How FunnelGuard handles this

FunnelGuard detects this issue only partly. Its robot visitor runs your real journeys on a schedule, including runs in Safari emulating an iPhone 14. In those runs it catches a date field that blocks the form, so the form cannot be submitted and the step fails. You then get one alert with a screenshot and a likely cause, after a re-check from a second region.

What it does not do: it does not compare how the date field is rendered (its look, size or picker style) against other browsers. A field that looks odd but still submits will not be flagged. It also is not a real iPhone, so Apple's native picker behaviour is not fully reproduced.

How a silent date block unfolds
  1. Day 0

    A theme update restyles form inputs and hides the native date control.

  2. Day 1

    iPhone visitors cannot pick a date and the form will not submit.

  3. Day 3

    Mobile leads drop but desktop looks normal, so nobody notices.

  4. Fix

    Restore the native control and add a visible error.

Questions people ask

Why is my date input not working on iPhone Safari?

Most often the value is empty, in the wrong format or outside the min and max limits, and the form blocks without a visible message. iOS also needs the default value in YYYY-MM-DD. Custom CSS or a second JavaScript date picker can interfere as well.

Why does the date picker look different on iPhone than on desktop?

Safari on iOS uses Apple's native date control for type="date". Each browser draws its own picker, and you have limited control over its look. You can set size, font and spacing, but not the picker itself.

How do I stop a required date field silently blocking my form on iOS?

Add your own validation on submit. If the field is empty or invalid, show a visible message next to it and focus the field. Do not rely on the browser's built-in bubble alone.

What date format does input type=date use?

The value is always YYYY-MM-DD, whatever format the user sees on screen. If you set a default in another format, iOS Safari leaves the field empty. Convert dates to this format in your code.

Can I style input type=date on iOS Safari?

Only a little. You can change font size, padding, border and height, and set a 16px font to avoid auto-zoom. Hiding or replacing the native control often causes the validation problems this guide describes.

Does FunnelGuard check date fields on iPhone?

Partly. Its Safari runs emulating an iPhone 14 catch a date field that blocks the form. It does not compare how the field renders, so check the look on a real iPhone yourself.

Should I make the date field optional?

If you do not need the date to follow up a lead, yes. An optional field cannot block the form. If you need it, keep it required but add a clear error message.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Safari (iPhone 14) runs catch a date field that blocks the form; rendering not compared.

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.