Skip to Content
Menu
This question has been flagged
1 Atsakyti
5360 Rodiniai
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.
Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Autorius

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

Autorius

I need customization of date field through code.

Related Posts Replies Rodiniai Veikla
1
kov. 25
6204
1
lapkr. 22
3205
3
lapkr. 21
25842
1
geg. 17
4481
2
kov. 15
5277