CF6 - Calendar - Set Dynamic Start Date

jetroh 10 May, 2017
Hello,
How do I set a dynamic start date in my calendar?
I would like the calendar to be forbidden to select dates earlier than today.
thank you.
Max_admin 11 May, 2017
Answer
Hi jetroh,

Under the "Calendar" item, open "Advanced" and write this in the "Earliest date" field:

{date:Y-m-d}


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jetroh 11 May, 2017
1 Likes
thanks, it's work fine๐Ÿ™‚
Leskma 30 May, 2017
Hello,

how can i do the same thing but start whith tomorrow date ?
Max_admin 30 May, 2017
Hi Leskma,

{date:Y-m-d$tomorrow}


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Leskma 30 May, 2017
Works fine ! Thank's a lot !
I have another BIG problem, In the calendar, i can't Browse between months others than current one and unable to click on days after the current month ..

Thank's again for your help
Leskma 30 May, 2017
I've tried to put a latest date/time in 2050, doesn't work ..
Max_admin 31 May, 2017
Hi Leskma,

There is no way currently to limit the open days, the format question is answered here:
http://www.chronoengine.com/forums/posts/t103650/some-problems-whith-chronoforms-v6-and-date-picker-attributes.html

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Leskma 31 May, 2017
oh...ok...currently ? do you think there will be a solution soon ?
And what about format strings supported ?

Is there a way to hack some file to obtain those results ? My client doesn't understand why it was possible on v4 in an other site i've done for him and not with v6...
Max_admin 02 Jun, 2017
Hi Leskma,

The format strings supported are y,m,d,h,i

The new calendar widget does not have the open days feature, I can try to add this but not sure when since I'm very busy with other issues at the moment, if you need a quick solution then you can find an alternative jquery datepicker widget and use it in your form instead of the calendar field, use it with a text field.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Leskma 03 Jun, 2017
Ok, i see, is there any tuto do do this ?

Thank's again for your help
Max_admin 09 Jun, 2017
Hi Leskma,

To do what exactly ? include an external lib ? you will need to upload the files to your website and load them at the page then add some code, the last part we can guide you on.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
vismay 27 Jun, 2017
Not working with CC6
Max_admin 30 Jun, 2017
Hi vismay,

What is not working exactly ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
onlink 24 Jan, 2019
hello. In the calendar fields, in the advanced session of open hours, how we could select hours by hours and not by half hours exemple 12:00, 12:30 etc..
โ€‹
In calendar fields, how i can program by half hours and start in 8:30 am and end at 5:00pm
โ€‹
ex.
8:30 9:00 9:30... 5:00
This topic is locked and no more replies can be posted.