Skip to main content

Date field

What it does​

A Date field lets the visitor pick a day from a calendar, such as the day they want a delivery. You find the field in the builder's left panel, in the Date & Time group, and add it by dragging it onto the form, as described in Adding fields and sections.

The visitor clicks the field or its calendar icon, and a calendar of one month opens under it. Days the visitor can't pick are greyed out. The arrows next to the month go to the month before or after. On a phone, the same calendar opens under the field.

Date field Preferred delivery date with its calendar open on October 2026; the days up to October 6 are greyed out, October 7 onward can be picked

After a pick, the calendar closes and the field shows the day in your store's short format, for example 10/14/26 on an English (United States) store view. To see the answer, go to Content → WebForms → Inbox and open the submission: it reads "Oct 14, 2026", as it does in a notification email.

When to use​

Choose Date for a day in the future or the recent past that the visitor picks from a calendar, such as a delivery, visit or purchase date. For a date of birth, use Birth Date: the visitor types it, without paging back through years. For a time of day, add a Time field next to it.

Settings​

Go to Content → WebForms → Manage Forms, click the form's name, then click Form Builder. Click the field on the form. Its settings show in the right panel, on the tabs General, Validation and Appearance. You'll change these settings most often:

  • Placeholder (General tab) is the grey hint in the empty field, such as "Choose a day".
  • Default Value fills in a day in advance. Write it in words relative to the day the visitor opens the form: today, tomorrow, +7 days or next week monday. With +14 days, a visitor on October 5 sees October 19.
  • Disable Past Dates (Validation tab) greys out every day before today. Past Offset (days) moves that limit: with 2, the earliest day the visitor can pick is two days from today. A negative number moves it into the past.
  • Disable Today greys out today.
  • Disable Future Dates greys out the days after today. Future Offset (days) moves that limit: with 60, the last day the visitor can pick is 60 days from today.
  • Disabled Days greys out days of the week, such as Sunday.
  • Custom Disabled Dates greys out single days and ranges. See Write custom disabled dates.
  • Required (General tab) makes the visitor pick a day before the form can be sent.

For the settings that grey out days, "today" is the day in your store's time zone. Default Value counts from the day in UTC, so near midnight it can be one day off for a store far from UTC.

The table below lists every setting. Visitors see a change after you click Publish Changes in the builder's top bar.

All settings of this field
Setting Where in the panel Values Translatable
Enable Field General → Basic On or off No
Label (required) General → Basic Text Yes
Field Code General → Basic Text No
Required General → Basic On or off No
Required Error Message General → Basic Text Yes
Help Text General → Basic Formatted text Yes
Tooltip General → Basic Formatted text Yes
Placeholder General → Field Settings Text Yes
Default Value General → Field Settings Text Yes
Hide in Submissions General → Submission Display On or off No
Allow in Staff Email Subject General → Submission Display On or off No
Submission Label General → Submission Display Text Yes
Personal Data General → Privacy By field type — Not personal, Not personal, Personal data No
Disable Today Validation → Availability On or off No
Disabled Days Validation → Availability Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday No
Disable Past Dates Validation → Availability On or off No
Past Offset (days) Validation → Availability Number No
Disable Future Dates Validation → Availability On or off No
Future Offset (days) Validation → Availability Number No
Custom Disabled Dates Validation → Availability Text No
Desktop Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Tablet Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Mobile Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Show Label Appearance → Style On or off No
Help Text Position Appearance → Style Below input, Above input No
Container Classes Appearance → CSS Text No
Input Classes Appearance → CSS Text No
Custom Attributes Appearance → Advanced Text No
Inline Style Appearance → Advanced Text No

Write custom disabled dates​

Put each entry on its own line, or separate entries with a comma or a semicolon. Write the day first, then the month, even on an English (United States) store: 26.11.2026 is November 26, 2026.

You write The calendar greys out
25 The 25th of every month
25.12 December 25 of every year
26.11.2026 November 26, 2026 only
1-3 The 1st to the 3rd of every month
24.12-26.12 December 24 to 26 of every year
23.12.2026-2.1.2027 December 23, 2026 to January 2, 2027

Validation​

Check What the visitor sees when it fails
Required "This is a required field." under the field, or your Required Error Message.

When Required is off, the Validation tab shows Required Unless This Field Is Filled. Pick another field there, and the visitor must answer at least one of the two. See Required unless another field is filled.

The visitor can't pick a greyed-out day. The store checks the date again when the form arrives. If a day you ruled out gets through, for example because of the time-zone issue under Limits, the form isn't sent and a window shows one of these messages, with your label at the start:

Rule Message
Disable Past Dates "Preferred delivery date: The specified date is lower than the min date."
Disable Future Dates "Preferred delivery date: The specified date is greater than the max date."
Disable Today "Preferred delivery date: Today is disabled."
Disabled Days "Preferred delivery date: The specified weekday is disabled."
Custom Disabled Dates "Preferred delivery date: The specified date is disabled by rules."

Logic​

  • Start a rule: no. Only fields with options can start a rule. A Logic tab appears on a Date field only once a rule shows or hides it, and lists that rule.
  • Show or hide this field: yes, from a rule that starts on a field with options. See Show or hide fields and sections.
  • Email conditions: yes, with Is, Is Not, Greater Than (later) and Less Than (earlier). Write the date as year, month and day, such as 2026-10-15. See Condition operators.

Limits​

  • Visitors in time zones west of UTC see the wrong days greyed out. When the visitor's computer or phone is set to a time zone behind UTC, such as anywhere in the United States, every greyed-out day shows one day late: with Sunday disabled, the calendar greys out Mondays and lets the visitor pick a Sunday. The store still refuses the ruled-out day when the form arrives, with the message above, so the visitor has to pick again. Visitors at UTC or east of it, such as in Europe, see the right days. If many of your customers are in the Americas, mention your rules in Help Text, such as "We deliver Monday to Saturday."
  • The visitor picks the day in the calendar; there's no time of day. Add a Time field for that.

Troubleshooting​

  • A visitor picked a day and got "The specified weekday is disabled". See the time-zone issue under Limits.
  • The wrong day is greyed out by Custom Disabled Dates. Entries are read day first: 5.11 is November 5, not May 11.
  • Your change doesn't show on the storefront. Changes stay in the draft until you click Publish Changes. See Drafts, publishing and versions.

What's next​

Applies to WebForms 4Last reviewed October 14, 2026