# Enabling week number in CalendarDate field type

**URL:** <https://community.bloomreach.com/t/enabling-week-number-in-calendardate-field-type/3809>\
**Category:** Uncategorized\
**Created:** [April 26, 2023, 12:53pm UTC](https://community.bloomreach.com/t/enabling-week-number-in-calendardate-field-type/3809 "2023-04-26T12:53:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Hu](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/andrea_hu/32/1553_2.png) [@Andrea\_Hu](https://community.bloomreach.com/u/Andrea_Hu)\
**Post date:** [April 26, 2023, 12:53pm UTC](https://community.bloomreach.com/t/enabling-week-number-in-calendardate-field-type/3809/1 "2023-04-26T12:53:14Z")

</div>

Hi Bloomreach Community and Jasper,

We want to enable the week number in the CalendarDate field. We dug around a bit and saw that the calender popup/widget used the YAHOO yui calender widget. In it, we saw that it was possible to enable the week number by setting `SHOW_WEEK_FOOTER` or `SHOW_WEEK_HEADER` to true on their [documentation](https://yui.github.io/yui2/docs/yui_2.9.0_full/docs/YAHOO.widget.Calendar.html).

So we were wondering how we could enable or pass these two configurations via the editor template of a field of type CalendarDate.

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [April 26, 2023, 3:19pm UTC](https://community.bloomreach.com/t/enabling-week-number-in-calendardate-field-type/3809/2 "2023-04-26T15:19:54Z")

</div>

The simple answer is you can’t. While it is the yui calendar widget, there is also wicket and brxm in between. There is simply no mechanism to pass this parameter.

The more complex answer is, you’d have to adjust the picker classes that handle this. While it is probably possible to do this, this would represent an unsupported extension. Meaning if it breaks we can’t help you. It is likely not too complicated to do this, but if you are not familiar with wicket and how we use it then it might be challenging. I would not recommend.

How much is it worth to you to have this?

You could try to raise a formal support ticket to get this added. I can’t make any promises on whether this would be picked up or any timeline on implementation.

---

<div class="post-metadata">

**Author:** ![Andrea\_Hu](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/andrea_hu/32/1553_2.png) [@Andrea\_Hu](https://community.bloomreach.com/u/Andrea_Hu)\
**Post date:** [May 2, 2023, 7:22am UTC](https://community.bloomreach.com/t/enabling-week-number-in-calendardate-field-type/3809/3 "2023-05-02T07:22:29Z")

</div>

Hi Jasper, thank you for the reply.

Indeed, this feature would help our editors greatly and reduce possibility of misconfiguration.  
So it would be great if you could help us open a formal support ticket. Thank you!
