Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 199 by
garyburn...@gmail.com: Default value for a radio button
http://code.google.com/p/php-form-builder-class/issues/detail?id=199
How do you set a default value for for a group of radio buttons?
At present I add a group of radio buttons to a form object in the following
way:
$options = array('one'=>"Option #1", 'two'=>"Option #2", 'three'=>"Option
#3");
$form->addElement(new Element\Radio("Radio Buttons:", "RadioButtons",
$options))
I can't see anything in the documentation that demonstrates a default value.
I'm using version 3.1 and php 5.4
Thanks
--
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