How to use it
- In the Form element, open a field whose type is the date picker.
- For a time field, tick Time only, no calendar (Kiln). The picker shows a clock and no calendar.
- To limit the dates, fill in Earliest date and Latest date. Write
today, a number of days from today such as+2or+90, or a date such as2026-12-24. A negative number such as-3counts days before today. - To block days of the week, choose them in Disabled weekdays.
- To limit the minutes, set Minute step, from 1 to 60. A step of 15 allows :00, :15, :30 and :45.
- Optional: write your own text in Date not allowed message. The default is "Please choose an available date."
Kiln ignores anything else typed in the date fields.
How it works with your own settings
Bricks' Min. time and Max. time still apply, including in a time-only field. Once you set any Kiln option on a field, the server also checks that field's Min. time and Max. time.
Disabled weekdays are added to the rules the picker already has. A holiday list you set through Bricks' date picker filter keeps working.
Relative dates count from today in the site's timezone, set in WordPress under Settings > General. The picker works them out in the visitor's browser, so a cached page never shows yesterday's limit.
In a time-only field the picker follows the site's time format: 24-hour when the format uses H or G, otherwise 12-hour with AM and PM.
Limits
- Date limits and disabled weekdays apply in the picker on the front end. The script that applies them does not load in the builder.
- The server checks the submitted text against the limits, the weekdays, the minute step and the time range. An empty value is skipped, because Required is Bricks' job.
- When the picker is translated and the date format prints month or weekday names, the server cannot read the value back. The same holds for a date format with a token the server cannot read. In both cases the picker alone enforces the limits.
- The minute step counts within each hour. It is checked on the server only for time-only fields and for date pickers with time enabled.
Settings
None. Turn the module on in Bricks > Kiln (it is on by default).
Requirements
Bricks 2.4 or newer.