Configuration
Last updated:
How to use the date picker question type
The date picker question type is used to allow users to select a date.

How to use the date picker
Select the Date picker node from the Advanced tab in the nodes panel and drag it into your configuration. You can then connect it to other nodes to capture the selected date and use it in your workflow.
Choose a fixed or dynamic date
You can use a fixed or dynamic date for the Default value, Minimum date and Maximum date settings.
Choose Fixed date to select a specific calendar date.
Choose Dynamic date to set a date relative to today. Enter a number, select days, weeks, months or years, and choose From today or Before today. For example, 25 Years Before today sets a date 25 years in the past.
Set a default date
Edit the date picker question to set a Default value. This is the date that will be selected when the user opens the question.
Leave default value empty if you want the visitor to choose a date themselves.
A default date is only selected if it falls within the configured minimum and maximum dates.
Restrict the selectable date range
Use Minimum date to set the earliest selectable date and Maximum date to set the latest. You can configure each limit independently as a fixed or dynamic date.
For this example we will make a birthday date picker that starts on 01-01-1900 and ends today. The default value is set to 25 years before today.

Sending the selected date to Spotler Activate
If Spotler Activate is in use, you can send the selected date from the date picker node directly to it. Spotler provides a default field called BirthDate, but you can also create a custom field in Spotler if needed.
To make sure the data is getting sent, edit the date picker node and locate the Spotler Activate field name setting. Enter the name of the field in Spotler Activate that you want to populate with the selected date. For example, to fill the default BirthDate field, enter 'birthdate'

Once configured, the selected date will automatically be sent to Spotler Activate whenever data is sent, ensuring that the chosen date is captured in the specified field.
Was this article helpful?
Yes
No

