cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Mata <manuel_mata_ru...@yahoo.es>
Subject Re: Change Popup calendar style
Date Tue, 05 Jun 2007 10:51:06 GMT
> 
> On a related topic, when you have two calendar
> pop-up locations (eg 
> booking system start and finish dates), how do you
> push the start-date 
> (optionally plus one day) into the finish-date
> pop-up default, so that 
> users don't accidentally put in a finish date
> earlier than the start date?
> 
> ///Peter
> 

I would use the onchange event with flowscript into
the form definition. I would take the start date and
set it to the second field (plus one day if dare).

Optionally you could add a validation checking that
the first date is earlier than the second one in the
form.

         Manuel Mata.


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message