Datepicker update multiple alternate fields??
Hi,
I like to alternate multiple fields with differ formats. I like to update a hidden textfield with another date format.
In total i have 3 date fields (ie dayname, user friendly format and php friendly format)
- arrival.datepicker({altField:'#arrivalDay', altFormat:'DD', buttonImage: 'imgs/calendar.png', buttonImageOnly: true, constrainInput: true, dateFormat: 'dd MM yy', duration: 'fast', firstDay: 1, maxDate: '+5Y', minDate: '-0D', prevText: 'Earlier', showButtonPanel: true, showOn: 'button',onClose: clearEndDate});
- arrival.datepicker("option", "altField", "#test");
- arrival.datepicker("option", "altFormat", "dd/MM/y");
2 problems
1/ with a regular textfield , it doesn't show the 2 alternat formats, just the one in #test
2/with #test as hiddenfield it doesn't update #arrivalDate or #test?
Any suggestions?