<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 18:33:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Symfony Blog: New in symfony 1.2: Make your Choice!]]></title>
      <guid>http://www.phpdeveloper.org/news/11206</guid>
      <link>http://www.phpdeveloper.org/news/11206</link>
      <description><![CDATA[<p>
<i>Fabien Potencier</i> has <a href="http://feeds.feedburner.com/~r/symfony/blog/~3/420323235/new-in-symfony-1-2-make-your-choice">posted to the symfony blog</a> today about a form handling enhancement they've introduced in the latest release of the framework (v1.2) - sfWidgetFormChoice.
</p>
<blockquote>
When displaying a form, you often want the user to make a choice amongst a list of possibilities. In HTML, a choice is represented by a select tag. You can add a multiple attribute to make it accept several choices. [...] To unify all these possibilities, symfony 1.2 comes with a new widget called sfWidgetFormChoice. sfWidgetFormChoice is an abstract widget in the sense that it delegates the rendering to another widget (the renderer widget).
</blockquote>
<p>
He <a href="http://feeds.feedburner.com/~r/symfony/blog/~3/420323235/new-in-symfony-1-2-make-your-choice">includes examples</a> of how to use the widget to make dropdowns, radio buttons, check boxes and even integrate some Javascript for handling multiple lists and autocompletes.
</p>]]></description>
      <pubDate>Tue, 14 Oct 2008 10:28:09 -0500</pubDate>
    </item>
  </channel>
</rss>
