跳至內容
選單
此問題已被標幟
1 回覆
5507 瀏覽次數
Hi guyz,

Firstly, when a date field is set, for ex:
    'date': fields.date('Date'),

The years displayed are normally 2003 - 2023 as the current year is 2013 i.e. +/-10 years in the selection box for years. 
But normally when we see any site for date of birth, they provide year range from 1970 -2013(i.e. present).

Is there any way to make the range bigger.
頭像
捨棄
最佳答案

Choose 2003 and then range shift to 1993. And step by step you go to 1920. The same in other direction. Or just write it by hand.

頭像
捨棄
作者

there is no range before 2003, so how can i get 1920 selected. tell me how to customize the range.

作者

I need customization of date field through code.

相關帖文 回覆 瀏覽次數 活動
1
3月 25
6363
1
11月 22
3294
3
11月 21
25984
1
5月 17
4581
2
3月 15
5277