Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 213 by
pierrehe...@gmail.com: How to add selected="selected" on
Select with PFBC 3.1?
http://code.google.com/p/php-form-builder-class/issues/detail?id=213
Hello,
With PFBC 2, to add "selected=selected" on a select list, it was simple
$form->addElement(new \PFBC\Element\Select('My list', 'list', array('1'
=> 'one', '2' => 'two'), array('value' => '2')));
but, with PFBC 3.1, it doesn't work.
So, can you tell me how to do it with this new version?
Thank you in advance ;-)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings