Instructions
1. Add "Typeable Date Picker" from Visual elements and size it. The input fills the element, so use the element's own Font, Background, Borders and Padding to style it. The calendar copies the font family, size, weight and style of the text field.
2. Choose the Mode: Single, Range or Both.
3. Set the Date mask. Tokens: dd (day), mm (month), yyyy or yy (year). Any other character is a separator, for example dd/mm/yyyy or yyyy-mm-dd.
4. Optional: set Locale (for example pt-BR or en-US), Month format (mm or mmm), Weekday format (d, dd or ddd), Minimum date, Maximum date, Initial date, icon sizes and the calendar colors.
5. Use the element's states in your workflows: Value, Start date, End date, Is valid, Validation error, Year, Month, Day, ISO date, Zodiac sign and Chinese zodiac sign.
6. Use the events (Date selected, Range completed, Cleared, Opened, Closed, Input invalid) to react to the visitor, and the actions (Set date, Set range, Clear, Open calendar, Close calendar) to control the field.
Notes
• Dates are returned at noon of the chosen day in the visitor's timezone. Use ISO date or Year, Month and Day if you need a value that never depends on a timezone.
• Events fire only when the visitor interacts. Actions and Reset update the states silently.
• Two-digit years: 00 up to the current year become 20xx, higher values become 19xx.
• Pasted text must follow the same digit order as the mask.
• Weekday format ddd shows full weekday names, so the calendar becomes wider to fit them (on narrow screens the names are shortened).
• Keep the element visible when the page loads so its actions are available.
• Zodiac signs use the standard date table (boundaries can vary by one day between sources). The Chinese sign follows the Chinese New Year of the birth year and is returned in English (Rat, Ox, Tiger...).