Hi Bob,
I can't find a solution to this. I have three date time picker fields on the one form. One I want to configure for date only and the others for time only in 12 hour format. The pickers work as specified in the control but the output from the format: '%d %b %y %I:%M %p ' is imposed on both the date and time fields.
Is there some way round that short of replacing the control with a custom version and reformatting there?
Thanks
Nick
I can't find a solution to this. I have three date time picker fields on the one form. One I want to configure for date only and the others for time only in 12 hour format. The pickers work as specified in the control but the output from the format: '%d %b %y %I:%M %p ' is imposed on both the date and time fields.
Is there some way round that short of replacing the control with a custom version and reformatting there?
Thanks
Nick
Hi Nick,
The way that the datepickers work is a bit clunky as soon as you need something different. Basically even if you assign a separate class to one the old class is retained as well. I've got round this by using Text Box elements for the custom pickers, setting a distinctive class then using the Custom MooTool DatePicker element (or just a chunk of JavaScript) to assign the settings for that class. It seems to work well.
Bob
The way that the datepickers work is a bit clunky as soon as you need something different. Basically even if you assign a separate class to one the old class is retained as well. I've got round this by using Text Box elements for the custom pickers, setting a distinctive class then using the Custom MooTool DatePicker element (or just a chunk of JavaScript) to assign the settings for that class. It seems to work well.
Bob
This topic is locked and no more replies can be posted.