I have something, but for me it is a little complicated. I need help from you guys. Here is what I set for the Jquery UI date picker in the first input field with the day id, but the date values that I get → 03/02/2011 should be parsed on the three input fields in a specific format? see code below:
<label>Enter Day of Arrival (in the format DD)
<input type="text" name="$DAY$" id="day" size="6" maxlength="6" />
<label>Enter Month of Arrival (in the format MM)
<input type="text" name="$MONTH$" id="month" size="6" maxlength="6" />
<label>Enter Year of Arrival (in the format YYYY)
<input type="text" name="$YEAR$" id="year" size="6" maxlength="6" />>
source
share