Skip to Content
0

Select Month or Year with CalendarControl?

May 02, 2017 at 01:03 PM

46

avatar image

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?

Thanks,

Pablo

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers