Hello to all,
i'm using ChronoForms 3.1 RC5.5 on my joomla 1.5 site. I can't update it since a lot of mod i have made.
My question is simple. I have a date picker
<input class="cf_datetime " size="18" id="scadenza" name="scadenza" type="text" />
and i simply need to prevent that you could select a date greater than one month (30 days) from today.
How can i do it?
Thanks
i'm using ChronoForms 3.1 RC5.5 on my joomla 1.5 site. I can't update it since a lot of mod i have made.
My question is simple. I have a date picker
<input class="cf_datetime " size="18" id="scadenza" name="scadenza" type="text" />
and i simply need to prevent that you could select a date greater than one month (30 days) from today.
How can i do it?
Thanks
Hi mattiadj,
I'm not sure that you can do that with the Aeron Calendar in ChronoForms v3 (you can in v4). You might be able to do it using the Block option - see the calendar docs here.
Bob
I'm not sure that you can do that with the Aeron Calendar in ChronoForms v3 (you can in v4). You might be able to do it using the Block option - see the calendar docs here.
Bob
Thank you for the link.
i can set the days to block in php but then how can i implement the block option in js in cf?
For example i want block the the calendar after 15-5-2013. I can set 15-5-2013 in php but how can i set it up in cf?
i can set the days to block in php but then how can i implement the block option in js in cf?
For example i want block the the calendar after 15-5-2013. I can set 15-5-2013 in php but how can i set it up in cf?
Hi mattiadj,
You may be able to use the Date Fields extras box on the Form General tab but more likely that you will have to use some custom JavaScript I'm afraid.
Bob
You may be able to use the Date Fields extras box on the Form General tab but more likely that you will have to use some custom JavaScript I'm afraid.
Bob
This topic is locked and no more replies can be posted.