|
|

When using separate text inputs, the value of the date_format attribute still kicks in, but with the following differences:
Here are some examples:
Any delimiters you may have specified are ignored, as they only make sense in a single date display.
Date:
![]()
Month:
Date:
Year:
![]()
Again, the order of the month, date and year definitions are only meaningful in a single date display. When using separate inputs, the order in which the date components are displayed is the order in which your HTML includes the input elements in the page.
A DHTML Lab Popup Calendar with three ( month/date/year ) associated text inputs, generated by an image click:
Date:
![]()
Month:
Date:
Year:
![]()
If the date_format includes a definition
for a date component without a corresponding input, the script simply discards
it. In the following example, there is no input available to display the date
Date:
![]()
Month:
Year:
![]()
There are a couple of additional things you need to consider when using separate <select>lists.
Send a comment or suggestion to Peter Belesis
Created: October 20, 2004
Revised: October 20, 2004
URL: http://webreference.com/dhtml/column71/4.html