Datepicker for my date field ? - Symfony2 forum
+ Reply to Thread
Results 1 to 3 of 3
  1. #1

    Join Date
    Apr 2012
    Location
    Rabat, Morocco
    Posts
    16

    Datepicker for my date field ?

    Hi everybody,
    I want to use a datepicker in my form, someone have a tutoriel wich can help me? Thanx a lot!

  2. #2
    Tobias's Avatar

    Join Date
    Jul 2011
    Posts
    95
    Have you referred to this documentation? http://symfony.com/doc/current/refer...ypes/date.html
    You can have dropdown boxes with month/day/year if you set 'widget' to 'choice'.

    If you want a more 'pro' datepicker I would recommend to set widget to 'single_text' and use this jQuery plugin: http://jqueryui.com/demos/datepicker/
    Don't reinvent the wheel.
    Tobias

  3. #3

    Join Date
    Apr 2012
    Location
    Rabat, Morocco
    Posts
    16
    Ok, I'll try the jQuery Plugin. Thanx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts