Re: Two YUI DatePickers - use first date as basis for second date

2012-05-11 Thread vp143
the minimum date. Regards Vishal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Two-YUI-DatePickers-use-first-date-as-basis-for-second-date-tp4623018p4626281.html Sent from the Users forum mailing list archive at Nabble.com

Re: Two YUI DatePickers - use first date as basis for second date

2012-05-11 Thread Martin Grigorov
need to do. It seems like I need to add a listener which calls a JS method which I think I have understood but cant work out what is required to change the minimum date. Regards Vishal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Two-YUI-DatePickers-use

Two YUI DatePickers - use first date as basis for second date

2012-05-10 Thread Vishal Popat
Hi, I have two YUI DatePickers where the date selected from the first DatePicker is the starting date (+1) for the second DatePicker. I would ideally like to disable the dates prior to the first date as well. The scenario is like checkin and checkout dates for hotels. I cannot work out how to

Re: Two YUI DatePickers - use first date as basis for second date

2012-05-10 Thread Martin Grigorov
Hi, You can update the second DatePicker with Ajax or just clientside after the user makes a selection on the first. Check YUI docs to see what exactly you need to do. On Thu, May 10, 2012 at 12:43 PM, Vishal Popat vishal.po...@cipriati.co.uk wrote: Hi, I have two YUI DatePickers where the