Date Picker

Description

The Date Picker Node opens the new Cognigy Date picker plugin in the current chat. If you're using the Facebook Message Chat or Admin Panel, the Date picker will open a Pop-Up window to let the user interact with the picker.

You have to define a few properties to customize the Node for your needs.

Properties

ParameterTypeDescriptionRequired
EventNameCognigyScriptTitle of the Date Picker dialogyes
LanguageSelectThe language of the date picker. Select the locale for the language you want the Date Picker to use.
Minimum DateCognigyScriptThe first date available to the user to pickyes
Maximum DateCognigyScriptThe last date available to the user to pickyes
Disable Selected DatesBooleanDates entered in the Date Selection field are disabled if this is active, else they're enabled
Date Selection RangeBooleanEnable this to define a range in the Date Selection field. Enter only the start and end dates in the Date Selection field.
Date SelectionCognigyArrayA list of dates. Use the following format:
2019-01-05
Only two dates allowed if Date Selection Range is active and as many as you want if it's disabled
Enable TimeBooleanEnable this to have the user select a time as well as a date. Shows a time picker below the date selection
ModeSelectSelect how many dates the user should pick

Single: 1
Multiple: 1 or more
Range: user selects a range from a start date to an end date
Open Picker Button TextCognigyScriptThe text of the button to open the Date picker such as "Pick a date"yes
Cancel Button TextCognigyScriptThe text of the cancel button in the Date picker such as "Cancel"yes
Submit Button TexCognigyScriptThe text of the submit button in the Date picker such as "Submit" or "Choose"yes
Time 24hrBooleanSet this to active to provide 24hr time format.

Only important if Enable Time is active.
Date FormatCognigyScriptThe format of the date such as "Y-m-d"

Leave this field empty as a default.