Dear all,
on Joomla 3.6.5, I created a form containing a DatePicker with the start-date as 10/08/2017 and the end-date as 20/08/2017.
All dates are disabled, execpt for dates between 10 and 20 august, but when I click on DatePicker to open the popup, it shows the current month (Febrary 2017 at time of writing) instead of the first available date.
How to force DatePicket to open its popup in another date than today?
Regards
on Joomla 3.6.5, I created a form containing a DatePicker with the start-date as 10/08/2017 and the end-date as 20/08/2017.
All dates are disabled, execpt for dates between 10 and 20 august, but when I click on DatePicker to open the popup, it shows the current month (Febrary 2017 at time of writing) instead of the first available date.
How to force DatePicket to open its popup in another date than today?
Regards
Hello hwsassisi,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I format a date in the datepicker?
How can I set a default date for a datepicker?
How can I set start and end dates for a datepicker?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I format a date in the datepicker?
How can I set a default date for a datepicker?
How can I set start and end dates for a datepicker?
P.S: I'm just an automated service😉
Hi hwsassisi,
Please check the FAQs that Prof Calculus linked to. You do need to make sure that you have the dates in the correct format for CF to be able to read them.
Bob
Please check the FAQs that Prof Calculus linked to. You do need to make sure that you have the dates in the correct format for CF to be able to read them.
Bob
Hi Bob,
which tutorial are you referring to?
I have set stard-date and end-date in the correct format and "field value" is empty.
Dates are selecteable only in requested interval, but when I open calendar popup starting from an empty field value, the popup shows current month instead the first selectable date
Please, have a look to "check-in" field in http://www.hotelwindsorsavoia.it/it/umbria-in-moto.html page
Thanks
which tutorial are you referring to?
I have set stard-date and end-date in the correct format and "field value" is empty.
Dates are selecteable only in requested interval, but when I open calendar popup starting from an empty field value, the popup shows current month instead the first selectable date
Please, have a look to "check-in" field in http://www.hotelwindsorsavoia.it/it/umbria-in-moto.html page
Thanks
In that page, valid dates are 24 and 25 of march, but when you open check-in date, febrary is shown
Hi Bob,
Yes, I sow that faq, but it is not what I would like to do.
I would like to have an empty value in date-piker, then set start_date and end_date properties in my date-picker and finally to see my date-picker opening calendar from the month of the start_date I have set, not from the month of today.
I don't want to set any predefined value in my date-picker. I would like to leave it empty.
I need a "if-value-is-empty-then-on-click-show-calendar-popup-from-date dd/mm/yyyy" method/function/property/event
Regards
Yes, I sow that faq, but it is not what I would like to do.
I would like to have an empty value in date-piker, then set start_date and end_date properties in my date-picker and finally to see my date-picker opening calendar from the month of the start_date I have set, not from the month of today.
I don't want to set any predefined value in my date-picker. I would like to leave it empty.
I need a "if-value-is-empty-then-on-click-show-calendar-popup-from-date dd/mm/yyyy" method/function/property/event
Regards
Hi hwsassisi,
OK, now I understand but I don't think that you can do that, the date picker and the value in the input box are linked and you can't easily have one without the other. It is perhaps possible to use some JavaScript to change the value of the input when the user clicks in it - I don't know if that would be fast enough to set the date-picker value though. Or you could try looking for another date-picker that allows you more control.
Bob
OK, now I understand but I don't think that you can do that, the date picker and the value in the input box are linked and you can't easily have one without the other. It is perhaps possible to use some JavaScript to change the value of the input when the user clicks in it - I don't know if that would be fast enough to set the date-picker value though. Or you could try looking for another date-picker that allows you more control.
Bob
This topic is locked and no more replies can be posted.
