DatePickerControl min-max test (in Spanish)

A date picker min min date = 05.07.2008 and max date = 15.09.2008:


Automatic ranges: when you select a date in first date picker, this date is the new minimum date of the second one

    

<script language="JavaScript">
  DatePickerControl.onSelect = function(inputid)
  {
    if (inputid == "calendar8"){
      cal8 = document.getElementById("calendar8");
      cal9 = document.getElementById("calendar9");
      cal9.setMinDate(cal8.value);
      cal9.disabled = false;
      setTimeout("document.getElementById('calendar9').focus()", 5);
    }
  }
</script>


I know would be better an event directly in the input control (as 'onchange' way for example), but this is a future work :-) ...

I didn't have time for a deep testing, so please if you found a bug drop me an email with examples.