The Date/Time field’s date picker option provides the user a calendar of dates to choose from. By default, a single date can be selected within this calendar.
The snippets below can be added to your site to allow the user to select a range of consecutive dates, or multiple non-consecutive dates, within the date picker calendar.
These snippets are designed to apply to all WPForms on your site. However, with slight modifications you can apply the code to a specific form or field. Please see our doc on customizing the date picker for examples.
NOTE: If using third party integrations, these date formats may not be accepted by those services. Be sure to test any customizations before using on a live form.
Within the submission entry, the start and end dates will be noted.
Within the entry, any selected dates will be separated by a semicolon (;).