BoltCM

Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Field types » Date field

Datepicker widget, to select a date.

Basic Configuration:

        eventdate:
            type: date

Example usage in templates:

{{ record.eventdate }}

Options:

The field has a few options to change the appearance and functionality of the field.

        eventdate:
            type: date
            options:
                datepicker:
                    changeMonth: true
                    changeYear: true
                    yearRange: "-100:-0"

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.