Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radio buttons #210

Open
GoogleCodeExporter opened this issue Jul 16, 2015 · 2 comments
Open

Radio buttons #210

GoogleCodeExporter opened this issue Jul 16, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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.

Original issue reported on code.google.com by tonei...@lyse.net on 31 Dec 2013 at 1:42

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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");

Original comment by pvcsnat...@gmail.com on 1 Feb 2014 at 3:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant