views:

19

answers:

2

I have a zend form which is using a view script. I want to get access to the individual radio button items but I'm not sure how to do so. Right now, I just print them all out using:

echo $this->element->getElement('myRadio');

That prints them all out vertically. I need a little more control. I need to be able to print the first 5 options in one column then the next 5 in a second column.

A: 

Figured this one out too. Just use

$this->element->getElment('myRadio')->getMultiOptions();

and it will return an array of the key/value options.

Jeremy Hicks