Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5488 Weergaven
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.
Avatar
Annuleer
Beste antwoord

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.

Avatar
Annuleer
Auteur

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

Auteur

I need customization of date field through code.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 25
6343
1
nov. 22
3287
3
nov. 21
25944
1
mei 17
4575
2
mrt. 15
5277