Hi,
i want to restrict the JQuery Datepicker to display only Year and months:
Regarding to this information https://www.chronoengine.com/faqs/70-cfv5/5216-date-control-using-cfv5-date-picker-element.html i already managed it to adapt the Datepicker through the Extra params field:
Now i tried to achieve my goal by using the minViewMode setting ( Restrict the picker from selecting days)
by using http://bootstrap-datepicker.readthedocs.org/en/latest/options.html#format as reference
But it didn´t work ...
1. Is there a Link which describe all settings which can be used im the Extra params for the CF5 Date Picker field?
2. How can i achieve to display only month & year on the datepicker?
Any hint ord infomration would be great!
Thanks for your help,
Thorsten
i want to restrict the JQuery Datepicker to display only Year and months:
Regarding to this information https://www.chronoengine.com/faqs/70-cfv5/5216-date-control-using-cfv5-date-picker-element.html i already managed it to adapt the Datepicker through the Extra params field:
data-start_view=y
data-start_date=<?php echo date("d.m.Y"); ?>
Now i tried to achieve my goal by using the minViewMode setting ( Restrict the picker from selecting days)
by using http://bootstrap-datepicker.readthedocs.org/en/latest/options.html#format as reference
data-min_view_mode=months
But it didn´t work ...
1. Is there a Link which describe all settings which can be used im the Extra params for the CF5 Date Picker field?
2. How can i achieve to display only month & year on the datepicker?
Any hint ord infomration would be great!
Thanks for your help,
Thorsten
Hi Thorsten,
Apologies for the delay!
The settings in the 2nd link are not related to the datepicker used in CFv5 which is developed by me.
There is no way to restrict the display to only months and years currently, but I will add it to the todo list, in the mean time you can use a "text field" with a mask to do this!
Regards,
Max
Apologies for the delay!
The settings in the 2nd link are not related to the datepicker used in CFv5 which is developed by me.
There is no way to restrict the display to only months and years currently, but I will add it to the todo list, in the mean time you can use a "text field" with a mask to do this!
Regards,
Max
Hi Max,
thanks for your answer!
First: Thanks for your developement!
Could you please inform me when you added this feature? This would be great!
II the meanwhile i will mask it.
:)
Thanks for your support,
Thorsten
thanks for your answer!
First: Thanks for your developement!
Could you please inform me when you added this feature? This would be great!
II the meanwhile i will mask it.
:)
Thanks for your support,
Thorsten
This topic is locked and no more replies can be posted.