Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Date Format For drop down...

    Hi

    I have a dynamicform, which needs to show a selection of dates that the user can pick from.

    To do this I have created an array of Date and set this on the control using setValueMap().

    I can get the non-drop down part of the conrol to show the format I want with this code, which is placed above the setValueMap() call:

    Date.setNormalDisplayFormat(function () {
    return this.getShortMonthName().toUpperCase() + " " + this.getDate() + " " + this.getFullYear();
    });

    However, the dropdown does not honour this format - see screenshot.

    Any help with getting the dropdown to honour this format would be appreciated.

    Andy
    Attached Files

    #2
    Don't worry - fixed it using ShortDateFormat, which controls the drop down...

    Comment

    Working...
    X