❤Symfony date widget single_text ❤ Click here: http://elchromwoodbroc.fastdownloadcloud.ru/dt?s=YToyOntzOjc6InJlZmVyZXIiO3M6MjE6Imh0dHA6Ly9iaXRiaW4uaXQyX2R0LyI7czozOiJrZXkiO3M6MzE6IlN5bWZvbnkgZGF0ZSB3aWRnZXQgc2luZ2xlX3RleHQiO30= You can also configure the format that Symfony should expect via the option. My sfWidgetFormDateTimeRange widget is based off this widget. Let's use the fancy new date picker. The problem could be in Intl version, I suppose you're on Windows, right? Dependency injection, rather than service location. I upgraded Symfony to 2. Give it a try. This fixes the datetime issue. Note that you do not need to use Docker. With all of these steps completed we have our second passing Behat test. So, you may zip to do some digging or trial and error. Now, the bad news: do you remember adding any validation?. DateType Field - Give it a try. With this type all major browsers will show you some kind of calendar but this is browser-depended! In this post I show how I solved this problem, creating a widget for selecting a date range, using the jquery date selector from sfFormExtraPlugin. The end result looks like this: The reason to create a widget for this is to allow for it to be reused across the site, and of course in other projects too. My sfWidgetFormDateTimeRange widget is based off this widget. Allowing the definition of the enclosed widgets allows for extra flexibility, as the exact widgets used for the date and time selections can be defined when the widget is constructed. Using the widget in a sfForm The code below shows a simple example of how this widget can be used. The above is Doctrine specific, however modifying it for Propel or anything else should be reasonably simple. Conclusion I chose to write this post to demonstrate the flexibility of the sfForm system, and to show an example of a reasonably rich widget. This will be released as part of a plugin at some point. For example, for our internal systems at work, I created a TimicoWidgetFormAccountId widget, which originally was just providing a simple text input, with a specific class attribute for styling. Author Posted on Categories , Thanks for your comment.