Overview
Want to let visitors choose a date or time when submitting your contact form? The Divi Contact Form module doesn’t include this feature by default, but you can add it with the Divi Contact Form Helper plugin.
You can use a date picker, a time picker, both together, or a date range picker to let visitors select a start and end date. You can also control which dates and times are available, customize the format, and adjust the appearance to match your website.
In this guide, we’ll show you how to set up the date and time picker and use its available settings.
How To Add A DateTimer Picker Field
To let visitors choose a date, a time, or both when filling out your contact form, add a DateTimer picker field. The steps are slightly different depending on whether you’re using Divi 4 or Divi 5. Follow the instructions for your version below.
If you’re using Divi 4:
- In the Divi Contact Form module, click the gray [+] button to add a new field.
- In the field settings, open Field Options and select Input Field from the Type dropdown.
- Find and expand Date Time Settings, then enable Use As Date/Time Picker.
General
Choose DateTime Picker Type
Choose what you want visitors to select in your form. You can let them choose a date, a time, both a date and time, or a date range with a start and end date.
Select the option that best suits your needs. For example, you can use a date picker to let visitors choose an appointment date or a date and time picker to schedule an appointment.
DateTime Picker Format
Choose how the selected date or time should appear in the field. The available formats depend on the type of picker you selected above.
If you don’t see the format you need, you can create your own using the Custom Date Format or Custom Time Format settings in the Date and Time tabs.
Show DateTime Picker Inline
By default, the date or time picker appears when a visitor clicks the field. Enable this option to keep the picker visible on the page without requiring visitors to click the field first.
This can be useful when you want visitors to see the available dates or times right away.
Set Input With Current DateTime
Enable this option to automatically fill the DateTimer picker field with the current date and time when the page loads. This gives visitors a starting value instead of leaving the field empty.
Set DateTime Picker Language
By default, the date and time picker uses the language selected in your WordPress General Settings. If you want to use a different language for a particular form, you can select it from the DateTime Picker Language dropdown in the General tab.
This lets you display the date and time picker in the language that best suits your visitors.
Locale Direction RTL
If your website uses a right-to-left (RTL) language, enable this option to display the date and time picker in the correct direction. This helps the picker match the reading direction of languages such as Arabic and Hebrew.
ICS Calendar Sync BETA*
You can synchronize the date and time picker with your Google Calendar or Outlook calendar using an ICS calendar feed URL. This allows the picker to use your calendar to determine which dates and times are available.
To enable this feature, open the General tab in the DateTime Picker settings for your field and enter your calendar’s ICS URL in the ICS Calendar Sync setting. The sync will start automatically when you add the URL.
Once the calendar is connected, the date and time picker will use the availability from your Google or Outlook calendar. When someone visits a page containing the contact form module, the plugin will run the sync function.
Important: When ICS Calendar Sync is enabled, the Available Dates, Unavailable Dates, Available Times, and Unavailable Times settings will be hidden because the calendar feed takes priority.
This is a one way sync from your calendar to the contact form. It uses your calendar to determine availability, but dates and times submitted by visitors through the form will not be added to or update your calendar.
In Google Calendar, open Settings, select the individual calendar you want to use, and scroll down to the Integrate calendar section. Copy the URL from Public address in iCal format.
Picker Opening Position
Choose where the DateTime picker appears relative to the input field. You can position it above or below the field and align it to the left or right.
Date
Custom Date Format
If the available date formats don’t match your needs, you can enter your own format using PHP date format parameters. Find the Custom Date Format field in the Date tab of the DateTime Picker settings. Enter your preferred format here. It will override any other date format you have selected in the settings.
For help choosing the correct parameters and creating a custom date format, see this guide from Elegant Themes.
Week Start Day
The first day of the week varies by country and region. Use this setting to choose which day appears first in the date picker’s calendar, such as Sunday or Monday.
Disable Week Days
Use this setting to prevent visitors from selecting specific days of the week in the date picker. Select the days you want to disable, and visitors will not be able to choose dates that fall on those days.
For example, if you only accept appointments from Monday to Friday, you can disable Saturday and Sunday so visitors can select weekdays only.
Disable Past Dates
Enable this option to prevent visitors from selecting dates before the current date. This is useful for appointment bookings, reservations, or other forms where visitors should only choose current or future dates.
If your form needs to allow past dates, leave this option disabled.
Disable Current Date
Enable this option to prevent visitors from selecting the current date in the date picker. This setting is useful when you don’t want visitors to book an appointment or make a reservation for today. You can use it alongside Disable Past Dates to allow visitors to select future dates only.
Fixed Or Relative Minimum Dates
Use this setting to control the earliest date visitors can select in the date picker. You can choose between a Fixed date and a Relative date, depending on how you want to set the limit.
- Fixed: Choose a specific date as the earliest selectable date. Enter the date using the Y-m-d format (year, month, day). For example, enter 2026-10-08 to allow visitors to select October 8, 2026, or any later date. Enter 0 to use today’s date as the minimum.
- Relative: Set the earliest selectable date based on the current date. Enter a negative or positive number to set the limit in relation to today. For example, enter -3 to allow dates starting three days ago, or +10 to allow dates starting ten days in the future. You can set a relative minimum date of up to 31 days before or after the current date.
Fixed Or Relative Maximum Dates
Use this setting to control the latest date visitors can select in the date picker. You can choose between a Fixed date and a Relative date.
- Fixed: Choose a specific date as the latest selectable date. Enter the date using the Y-m-d format (year, month, day). For example, enter 2026-10-08 to allow visitors to select October 8, 2026, or any earlier date. Enter 0 to use today’s date as the maximum.
- Relative: Set the latest selectable date based on the current date. Enter the number of days visitors can select into the future. For example, enter 8 to allow visitors to select dates within the next eight days, but not dates beyond that period. You don’t need to add a plus or minus sign.
Available and Unavailable Dates
Use these settings to control which specific dates visitors can select in the date picker. You can choose to list either the dates that are allowed or the dates that should be blocked.
- Available Dates: Use this when only certain dates should be selectable. Dates not included in your list will be unavailable.
- Unavailable Dates: Use this when most dates are available, but you want to block specific dates, such as holidays or days when you’re not accepting appointments.
Enter the dates as a comma separated list using the Y-m-d format (year, month, day). For example, enter 2026-10-08, 2026-10-15, 2026-10-22 to specify October 8, 15, and 22, 2026.
Choose the setting that best fits your needs. If only a few dates are available, use Available Dates.
Time
Custom Time Format
If the available time formats don’t match your needs, you can enter your own format using PHP time format parameters.
Find the Custom Time Format field in the Time tab of the Date/Time Picker settings. Enter your preferred format here. It will override any other time format you have selected in the settings.
For help choosing the correct parameters and creating a custom time format, see this guide from Elegant Themes.
Minimum And Maximum Times
Use these settings to control the earliest and latest times visitors can select in the time picker. This is useful when you only accept appointments or bookings during specific hours.
Enter the times using the 24 hour format. For example, enter 09:00 for 9:00 AM as the minimum time and 17:00 for 5:00 PM as the maximum time.
Visitors will only be able to select times within the range you specify.
Available and Unavailable Times
Use these settings to control which specific times visitors can select in the time picker. You can list the times you want to allow or the times you want to block.
- Available Times: Use this when only certain times should be selectable. Any times not included in your list will be unavailable.
- Unavailable Times: Use this when most times are available, but you need to block specific times, such as periods when you’re busy or unavailable for appointments.
You can set general availability that applies to every day, or use the individual day of the week fields to set different available or unavailable times for specific days. The time format should match the format selected for your field in the other settings.
Choose Available Times if you only want to allow a few specific times. Choose Unavailable Times if you want to block only a few times while leaving the rest available.
Time Steps
Use this setting to control the interval between selectable times in the time picker. Enter the number of minutes you want between each available time.
For example, enter 15 to offer times every 15 minutes, 30 for every 30 minutes, or 60 for hourly intervals.
Design Settings
You can customize the overall appearance of the date and time picker to match your website’s design. In Divi 5, open the Design tab and expand DateTime Picker to access the design options.
These settings include background color, margin, padding, borders, etc. Adjust them to customize the picker’s appearance and spacing.
Want to see how the date and time picker works? Visit our demo page to explore the available picker types, date and time settings, and design options.




































