Is it possible to have a date input field in a control panel view page?
Is there any kind of build in javascript library for the date calendar etc?
Thank you.
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.
Sign up to join this communityTake a look at the display_field()
method of the first party Date fieldtype. The key thing is to use a text input with a rel="date-picker"
attribute, but there are a few other things that need to be loaded, depending on where in the CP you are displaying it (some language strings, for example).