Hello!
I spotted an error here:
http://framework.zend.com/manual/2.0/en/modules/zend.form.elements.html#radio
In 2.1.6, its:
     use Zend\Form\Element;
     use Zend\Form\Form;

     $radio = new Element\Radio('gender');
     $radio->setLabel('What is your gender ?');
     $radio->setValueOptions(array(
                     '0' => 'Female',
                     '1' => 'Male',
     ));

     $form = new Form('my-form');
     $form->add($radio);

I tried searching for the black box in left bottom to edit it on github, but
couldn't find it. :)
Hope it helps some minutes to somebody sometime.
Thank you



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Edit-documentation-form-radio-tp4659860.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to