In my opinion, I don't think that is suitable use a calendar widget to
choose a birth date. It should be used to choose a date in the near
past or in the near future, and for forms where the date is not sure,
so the user need a calendar to make a choice. I think that picking
your birth date is always faster with 3 normal select. And, if it's
the only date field in the form, you save so many kb of data, and a
little less js on the page. And it will be easy to understand for
anyone, also without any "form completion" skills.

On 27 Dic, 14:41, Daniel Lohse <[email protected]> wrote:
> Google is your friend:
>        
> http://www.google.com/search?client=safari&rls=en&q=symfony+year+rang...
>
> 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_s...
>
> 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_su...
>
> 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 [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to