Google is your friend: http://www.google.com/search?client=safari&rls=en&q=symfony+year+range&ie=UTF-8&oe=UTF-8
And it's also documented in Appendix A of the "symfony forms" book: http://www.symfony-project.org/forms/1_2/en/A-Widgets#chapter_a_sub_sfwidgetformdate And you'll also want to have a look at Appendix B (Validators), especially when you want to restrict to a minimum date and a maximum date: http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfvalidatordate Cheers, Daniel On Dec 27, 2009, at 2:23 PM, Vincent UNG wrote: > I already use it with sfFromExtraPlugin, a symfony plugin that let me > to use datepicker of jQuery UI > In the widget class, I set option changeMonth, and changeYear as true. > and I set the option yearRange as '1980:2010' doesn't work... > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.