Date

Learn how to use and configure a date field to capture information that's time related in your Smart Form.

Use a Date field if you want respondents to type in or select a date, such as their birthday, using a calendar.

Example

 

Field Settings

Required

Label
Enter the text you want to show in the answer field. This could be the question or a hint to help respondents fill in the field. When the respondent begins typing, the label moves above the field.

Date Format
Select the format for the date. Respondents will be prompted to type in or select a date in this order. For example, if you choose YYYY-MM-DD, respondents will use a calendar to select the year, then the month, then the day.  Note: the value stored for the date field will always be in the YYYY-MM-DD format, regardless of how the date was collected.

Data Binding
Enter the data binding for the field. The data binding is used to label and store the information the respondent enters in this field.

Tip  For more information on how to name your data bindings, see Assign data bindings.

Optional

Hint
Enter a short hint to help explain the question. The hint appears below the answer field.

Info-bubble HTML
Enter more information to help explain the question. Users can view the info-bubble by hovering over an icon beside the answer field. You can use HTML tags to format the info-bubble content.

Set an Initial Date
Select the date that’s shown when the calendar opens. For example, if you’re asking for a birthday and you know that your target audience is in their 30s, you could set the initial date to 30 years in the past. This can help respondents find the date they’re looking for more quickly.
1. Click the toggle switch to select this option.
2. Select a Date Type (A specific dateA relative date in the future, or A relative date in the past).
3. Enter the date.

Enforce a minimum date
Select the minimum allowed date. For example, if you’re asking for a birthday and respondents must be 18 years or older, you could set the minimum date to 18 years in the past.
1. Click the toggle switch to select this option.
2. Select a Date Type (A specific dateA relative date in the future, A relative date in the past, or Dynamic from a Binding - see note below on this feature).
3. Enter the date.

Enforce a maximum date
Select the maximum allowed date. For example, if you’re asking for a birthday and respondents must be 60 years old or less, you could set the maximum date to 60 years in the past.
1. Click the toggle switch to select this option.
2. Select a Date Type (A specific dateA relative date in the future, A relative date in the past, or Dynamic from a Binding).
3. Enter the date.

Enforce weekdays only
The date must be a weekday. Click the toggle switch to select this option.

Make this field required
Respondents must answer the question to move to the next panel. Click the toggle switch to select this option.

Disable this field
The question is shown but respondents can’t edit the answer. For example, you may want to show an example answer. Click the toggle switch to select this option.
Disable when Prepopulated
The question is shown but users can’t edit the answer if the field has been prepopulated with data. For example, you may have captured the user’s city in a previous question and just want to display it here. Users can edit the answer if it hasn’t been prepopulated. Click the toggle switch to select this option.

Dynamic from a Binding

Minimum and Maximum dates can be dynamic based on a date collected in another data binding. 

If the data binding is not populated with a date, Set a Fallback Date can be used to ensure a date is min date is captured based on a specific or relative date.