PDA

View Full Version : only year in datefield?


paulgramos
09-24-2007, 03:01 PM
hi, i'm new at Ext.nd and i've tried to use a datefield for picking a year in a form but it happens that the field shows the all calendar. i've tried to change the format config option to form:'Y' and it save only the year but the users still are picking a day on the calendar image, any ideas?:-/

galdaka
09-24-2007, 03:51 PM
For select year, the calendar widget is not appropiate. Use a combobox.

paulgramos
09-24-2007, 04:34 PM
:s I was hoping that there will be a possibilitie to use the datefield, obviously a combo will work, thanks anyway.