Issue 213 in php-form-builder-class: How to add selected="selected" on Select with PFBC 3.1?

13 views
Skip to first unread message

php-form-bu...@googlecode.com

unread,
Jun 21, 2014, 10:42:18 AM6/21/14
to php-form-builder...@googlegroups.com
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

php-form-bu...@googlecode.com

unread,
Jun 22, 2014, 6:12:17 PM6/22/14
to php-form-builder...@googlegroups.com

Comment #1 on 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

Someone can answer me quickly, please?

php-form-bu...@googlecode.com

unread,
Jun 30, 2014, 4:37:04 AM6/30/14
to php-form-builder...@googlegroups.com

Comment #2 on 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

Please, can you help me?

php-form-bu...@googlecode.com

unread,
Jun 30, 2014, 4:38:04 AM6/30/14
to php-form-builder...@googlegroups.com

Comment #3 on 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

Please, someone can help me?
Reply all
Reply to author
Forward
0 new messages