News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Blog:
New in symfony 1.2 Make your Choice!
October 14, 2008 @ 10:28:09

Fabien Potencier has posted to the symfony blog today about a form handling enhancement they've introduced in the latest release of the framework (v1.2) - sfWidgetFormChoice.

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).

He includes examples of how to use the widget to make dropdowns, radio buttons, check boxes and even integrate some Javascript for handling multiple lists and autocompletes.

0 comments voice your opinion now!
symfony choice sfwidgetformchoice tutorial framework


blog comments powered by Disqus

Similar Posts

Vidyut Luther's Blog: Adding Subscribers to Campaign Monitor Lists using PHP5 and SOAP

Job Posting: QRIU Seeks a CakePHP Developer (Telecommute)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 2)

ServerGrove Blog: Configuring Symfony to use Zend Framework 1.8.0 new Autoloader

Padraic Brady's Blog: Zend Framework Blog App Tutorial - Addendum #2: Revised Design, Date Helper


Community Events





Don't see your event here?
Let us know!


community tips language voicesoftheelephpant podcast symfony framework bugfix laravel deployment list api series conference introduction release interview zendserver library developer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework