Skip to Content

Select Month or Year with CalendarControl?

Hey Experts,

has anyone successfully implemented the InputField type "CalendarControl" to select a year or month only?

I would like to have the calendar control on the year level like...

...and to select a month like...

I could set the CCTS-type of an input field which is bound to a BO-element of type "Year" to "date" and then have the user select a date, which surprisingly worked to set the FiscalYear-value of the respective BO-instance. If you selected e.g. "2010-03-02" the result was 2010:

But this is sort of hacky as you always have to select a specific date although the user shall only select a year. This date would also have to be saved as a date in the db, otherwise it flips to initial every time you re-open the screen. And most importantly, I would want to restrict the calendar control to only allow selection of years or months.

Is that possible? How do you realize selecting years or months?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers