Field Types | Date Field - Zoho Forms

Date

With the Date field in Zoho Forms, you can customize calendars to set the range of dates that you want to allow your respondents to choose from. You can set the starting day of all the weeks across the calendar, allow respondents to pick dates that fall on specific days, and much more.
Date Field

The following settings can be configured in the Properties of the Date field:

Initial Value                 

You can choose to prefill a date in the Date field when a respondent accesses your form. You can either choose a fixed date or autofill the date on which a respondent fills the form.
  1. To prefill the Date field with a fixed date, select a date from the calendar.
  2. To autofill the date on which the respondent fills the form, select Autofill Date of Response

Display Style

You can choose how the calendar widget appears when users interact with the field.
  1. Inline: The calendar opens directly below the field when clicked.
  2. Pop-up: The calendar opens as a pop-up when the field is clicked, taking focus and dimming the background content.
    Field Properties

Week Starts On

You can select your preferred day of a week on which each week of your calendar should start from the list.
For example, if you select Tuesday as the start of each week in your calendar, each week of your calendar will start from Tuesday, as shown.
Week Starts On

Allowed Days of Week

All the days in the calendar will be enabled for the respondents by default. You can choose to disable certain days from your calendar under Allowed Days.
Unselect the days that you wish to disable from every week in the calendar.
For example, if you unselect Sunday, it will be disabled from every calendar week.
Allowed Days of week

Allowed Dates

You can selectively enable specific dates in the calendar for your respondents under Allowed Dates.
Allowed Dates
You can select from the following options:
  • All Dates : All dates across the calendar will be enabled.

  • Past Dates : Only past dates from the date of form response will remain enabled.

  • Future Dates : Only future dates from the date of form response will remain enabled.

Notes
Note: To include the date of form submission along with the Past Dates and Future Dates in the calendar, select Include Date of Response.
  • Date of Response : Only the date on which the form is submitted will be enabled.

  • Start From : Dates after this date will be enabled.

  • End On : Dates before this date will be enabled.

  • Range : Choose a Start Date and an End Date. Only the dates between the selected range will be enabled.

Setting up Start From, End On, and Range for Allowed Dates                

For the Start From, End On, and Range options, you can select the date from any of the following options:
  • Date of Response

  • Date from the calendar

  • Date from other Date fields in the form

  • Customize using Additional Options

    Notes
    Note: You can only select the Date fields that are configured above the Date field that you are setting up.

Additional Options in Allowed Dates   

Additional settings can be configured for the  Start From, End On, and Range options under Allowed Dates.
  1. Select Start From, End On, or Range under Allowed Dates.  
  2. Click Additional Options.
  3. In the pop-up, select the date from which the range should start/end.
  4. Select Plus (+) or Minus (-) to configure the interval from the range start/end. 
  5. Enter the interval in number or select from other form fields that are configured above the date field that you are configuring. You can select from Number, Formula, Rating, Slider, Dropdown and Radio fields to set the field responses as the interval by clicking the  icon. You must assign values to the dropdown and radio choices to include them.
  6. Select a unit for the interval in Days, Allowed Days, Weeks, Months, or Years
  7. Click DoneThe summary of your configuration will appear under Properties.
    Allowed Dates Summary
  8. Click the summary box to change the configuration, or Clear to reset.

  9. For example, in a hotel room booking system where your respondents are required to book a room for a minimum of two days, but for no more than 15 days, you can customize the Check-out Date depending on the Check-in Date they choose as follows:
    Under Allowed Dates, select Range and choose Additional Options under Starts From and Ends On.
    Allowed Dates Range

    This enables the selection of Check-out Date from one day after the Check-in Date to 14 days after the Check-in Date. The rest of the dates will be disabled.
    If 02-Jul-2020 is given as the Check-in Date, the range of dates that will be enabled for the respondent to check
    out will be as shown:
    Date Field
Notes

Note:

  • To rearrange any field in the form that is associated with a Date field, you must remove the association of the field with the respective Date field.

  • Date range validations will not be applicable for updated records (record edit, task edit, approval edit).


Placeholder Text: Provide a placeholder text to enhance user guidance and set expectations for respondents. Placeholder text serves as a temporary example or hint within the form fields.
You can choose to autofill the date of response to prefill the Date field with current date and do a lot more by customizing date settings.

Validation

  1. Mandatory: Ensure that respondents cannot submit the form without selecting a date in this field.
  2. No Duplicates: Prevent the submission of identical entries.
Check out the FAQs to understand the use-cases of the Date field better.
Learn more about the different field types available in Zoho Forms.