Design your survey - configure a date and time element

We're retiring Surveys & forms

On 5 July 2021, Surveys & forms will be retired. You can continue to create surveys, forms, and even landing pages with our newer, easier-to-use and more flexible Pages and forms tool.

No need to panic - your existing surveys and forms will continue to work even after this date. However, you won't be able to edit them after 15 March 2021, so now is a great time to start building using the Pages and forms tool.

Learn more about the Surveys & forms retirement

Overview 

You can add questions to your survey that can accept date and/or time answers.

These can then be exported and opened up in Excel, as well as assigned to contact data fields.

Configuring a date and time element

  1. Select the Date & time element from the left-hand side panel and drag it in

    date_and_time_element.png
  2. Click on [ Type question here ] to then enter your question's text

    saf_date_and_time_element.png

This element is already prepared to accept a date and/or time, therefore date and/or time validation is automatically configured (in case someone adds an invalid date, such as 30 Feb). You have the choice to write your own validation error message though, if you wish.

You can also:

When displayed to respondents, they'll be shown the input boxes for the date and/or time as required.

The order of the boxes will conform to the date format of the respondent's browser language. For example, if the respondent's setting is 'English (United States)' then they'll see the month input box first, and if it's 'English' then they'll get the day input box first.

Alongside the date input boxes is a small calendar icon; a respondent can click on this icon to select from a date picker.

Exporting and synchronisation

Dates and times are stored in a standard format, which means they'll automatically get converted to your default date/time format when opening an export in Excel.

Where a date and time question has been assigned to a contact data field, it will get stored correctly as a datetime value type.

Did you find this article helpful?

Can we help?

Thanks for using Engagement Cloud. If you need more help or support, then contact our support team.