Date – only valid dates are accepted
Example:
ID | Type | Text | Goto |
2.1 | Date-CheckinDate | And when would you like to checkin? (Example format: MM/DD/YY) |
Best Practice:
Its best to use DateWidget instead of date to avoid user side errors for formatting issues.
DateWidget – only valid dates are accepted
Example:
ID | Type | Text | Goto |
2.1 | DateWidget-CheckinDate-yyyy/mm/dd | And when would you like to checkin? (Save Date in Format: YYYY/MM/DD) |
The date widget actually loads a complete calendar component within the chat, supported by browser’s inbuilt validations.
Note: You can also add a date format (optional) to save the date in the desired format. This can be done by adding a third parameter after the variable in which the date is being saved (as shown in the example above).