alexm Posted June 8, 2021 Share Posted June 8, 2021 Looking at the module code for InputfieldDatetimeSelect yearFrom and yearTo are set like so: 'yearFrom' => $year - 100, 'yearTo' => $year + 20, I wonder if there is an easy undocumented way to change this so it's dynamic from the datetime field settings page itself. Like you can with the jQuery UI datetime picker type? Link to comment Share on other sites More sharing options...
MindFull Posted June 9, 2021 Share Posted June 9, 2021 Are you referring to fields that have the Datetime type? If so, have you tried enabling the "Date Picker Year Range" field by selecting any radio under the "Date Picker" field other than the "No date/time picker" option? It allows you to specify the year range before and after the current year. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now