Date field
A Date field opens the browser’s date picker. Earliest and Latest limit the days visitors can pick, which suits bookings.
<label>Preferred date *
[[booking_date]]
</label>
Settings
| Setting | What it does |
|---|---|
| Default value | The date already picked when the page opens. Empty by default. |
| Fill from | Where the starting value comes from. See Fields. |
| Earliest | The first date visitors can pick. Today keeps them from picking a past date. |
| Latest | The last date visitors can pick, such as 30 days from today. |
| Required | Visitors must pick a date to send the form. |
Each of the three dates can be:
- Today, which moves with each day
- Days from today, such as 7 for a week ahead; a minus is before today
- A set date, picked from a calendar
- empty (Empty for the default value, No limit for Earliest and Latest)
The sidebar shows what Today or Days from today comes to on the current day.
In the mail
[booking_date] prints the date as YYYY-MM-DD, such as 2026-11-10.
Messages
| Message | Default text |
|---|---|
| Date isn’t valid | Please enter a valid date. |
| Date too early | This date is too early. |
| Date too late | This date is too late. |
Change it for one form in its Messages tab, or for every form in Settings → Messages.
Was this article helpful?
Thanks for your feedback!