How to disable the past dates of my calendar??

Shows some Tutorials

Re: How to disable the past dates of my calendar??

Postby GreyHead » Thu Feb 23, 2012 11:37 am

Hi laki,

The ChronoForms v4 calendar is different and does not use the direction option. It does have a minDate option which is similar. Please see this thread.

Bob
Bob Janes : ChronoForms Support

Tell us how we are doing - the Chrono Satisfaction Survey

If you'd like to buy me a beer - then thank you very much :-)
User avatar
GreyHead
Administrator
Administrator
 
Posts: 32270
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re: How to disable the past dates of my calendar??

Postby laki » Fri Feb 24, 2012 5:22 am

Hey Bob,

Im little bit confuse with ChronoForms 4.0 RC3.11, please let me where should I put 'direction: 1'. please check the attachment, is that the correct place? if not please let me know.

thx
Attachments
ex.jpg
ex.jpg (38.5 KiB) Viewed 810 times
laki
Fresh Boarder
 
Posts: 18
Joined: Thu Dec 15, 2011 7:16 am

Re: How to disable the past dates of my calendar??

Postby laki » Fri Feb 24, 2012 5:24 am

sorry bob I just saw your reply. forget about the previous post.
laki
Fresh Boarder
 
Posts: 18
Joined: Thu Dec 15, 2011 7:16 am

Re: How to disable the past dates of my calendar??

Postby laki » Fri Feb 24, 2012 5:30 am

Thx Bob, this works perfectly.
laki
Fresh Boarder
 
Posts: 18
Joined: Thu Dec 15, 2011 7:16 am

Re: How to disable the past dates of my calendar??

Postby laki » Thu Mar 08, 2012 11:34 am

Hi Bob,

I have another small question, I'm using ChronoForms for a hotel reservation website and now I want to disable past dates of check out date, Ex. If check in date is 05 Sep 2012 Check out date should be future date. Users are not allow to select back date from the check in date. Hope you got my point. Please let me know how to do this???????

Thank you.

Laki
laki
Fresh Boarder
 
Posts: 18
Joined: Thu Dec 15, 2011 7:16 am

Re: How to disable the past dates of my calendar??

Postby laki » Fri Mar 09, 2012 9:46 am

Hi Bob,

Any solutions for above issue????????

//laki
laki
Fresh Boarder
 
Posts: 18
Joined: Thu Dec 15, 2011 7:16 am

Re: How to disable the past dates of my calendar??

Postby admin » Sun Mar 11, 2012 4:30 pm

Hi laki,

If you have V4 RC3.21 then you can check Bob's code here: http://chronoengine.com/forums/viewtopi ... 31#p106431

You must enable the "Mootools datepicker" setting under the "Edit" screen though.

You may also do it using PHP code, which should work with both date pickers, I have already posted this before here, just search the forums for "minDate", you will need a "Custom datepicker" action for this.

Regards,
Max
ChronoForms/ChronoConnectivity/ChronoComments/ChronoForums Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want to have a full data management application ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
Want a Joomla forums extension similar to phpBB ? try ChronoForums
User avatar
admin
Administrator
Administrator
 
Posts: 9273
Joined: Mon Aug 14, 2006 5:29 am

Previous

Return to ChronoForms How To

Who is online

Users browsing this forum: No registered users and 14 guests

 

Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 15 minutes)
Most users ever online was 441 on Sat Jul 14, 2012 10:55 am

Users browsing this forum: No registered users and 14 guests

Current time

It is currently Wed Jun 19, 2013 3:05 am