Issue 210 in php-form-builder-class: Radio buttons

5 views
Skip to first unread message

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

unread,
Dec 30, 2013, 8:42:45 PM12/30/13
to php-form-builder...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 210 by tonei...@lyse.net: Radio buttons
http://code.google.com/p/php-form-builder-class/issues/detail?id=210

Radio buttons does not work correctly in the latest version.

$form->addElement(new Element_Radio("Radio Buttons:", "RadioButtons",
$options, array("value" => "one"))); will only return 1 radio button and
then the rest of the options on the same one. Ive tried alot of different
ways but they all return the same thing.

Please help.

--
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,
Jan 31, 2014, 9:39:06 PM1/31/14
to php-form-builder...@googlegroups.com

Comment #1 on issue 210 by pvcsnat...@gmail.com: Radio buttons
http://code.google.com/p/php-form-builder-class/issues/detail?id=210

How are you building the options array? It can be in either of these
formats:
$options = array("Option #1", "Option #2", "Option #3");
$options = array(array("value1" => "Option #1"), array("value2" => "Option
#2"), array("value3" => "Option #3"));

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

unread,
Jan 31, 2014, 10:17:11 PM1/31/14
to php-form-builder...@googlegroups.com

Comment #2 on issue 210 by pvcsnat...@gmail.com: Radio buttons
http://code.google.com/p/php-form-builder-class/issues/detail?id=210

How are you building the options array? It can be in either of these
formats:
$options = array("Option #1", "Option #2", "Option #3");
$options = array("value1" => "Option #1", "value2" => "Option #2", "value3"
=> "Option #3");
Reply all
Reply to author
Forward
0 new messages