General developer forum

Implementing JQuery UI datepicker feature into a form using the Formlib

 
Picture of Rex Lorenzo
Re: Implementing JQuery UI datepicker feature into a form using the Formlib
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developersGroup Plugins guardiansGroup Testers

We are in the process of incorporating Flatpickr as the date picker replacement in Moodle. 

A problem was that we needed to include the CSS in the Head before it gets outputted. But often the form elements get generated after the Head is outputted. So we had to include the Flatpickr CSS code in the theme base styles.

Make sure you have Developer debugging enabled so that you see all the error messages that display.

 
Average of ratings: -