Skip to content

Date field

Use Date when the respondent must provide a calendar date, without a time of day.

Example: requested start date

  1. Open Fields > General and select Date.
  2. Select the field and open Edit.
  3. Set the label to Requested start date and Name to requested_start_date.
  4. In the Date settings, choose the date format your audience expects.
  5. Leave Default value empty for a respondent-specific date. Use values such as today, yesterday, +1d, +2d3w, or -3m only when a relative default is genuinely correct.
  6. Turn on Required Field if the request cannot be processed without a date.
  7. Set Custom error text to Enter your requested start date.
  8. Preview and test the selected date format with a valid and invalid date.

Expected result

The respondent enters a date in the chosen order. The form accepts valid dates and gives the custom message when a required or invalid date needs correction. Date v2 settings drawer.

Build better forms with AbcSubmit.