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.
Pertanyaan ini telah diberikan tanda
1
Balas
7327
Tampilan
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.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
How to add widget to boolean field??
Diselesaikan
|
|
1
Mei 26
|
10507 | |
|
|
1
Nov 22
|
5222 | ||
|
How can I calculate difference between two dates ?
Diselesaikan
|
|
3
Nov 21
|
28906 | |
|
|
1
Mei 17
|
6301 | ||
|
Year only needed - how to implement?
Diselesaikan
|
|
2
Mar 15
|
5277 |