-- tim912 <[EMAIL PROTECTED]> wrote
(on Friday, 11 April 2008, 01:50 AM -0700):
> Is there a way of splitting radio buttons on a page using the Zend_Form
> component? I think that something along the lines of each option having its
> own decorators would solve the problem but I can't see a way of doing this.
> 
> The effect I want is to be able to have each option in its own div element
> with each div containing other information about the option. For example:
> 
> <div>
>    <label><option type="radio" name="test" value="1" />1</label>
>    <p>Other information</p>
> </div>
> <div>
>    <label><option type="radio" name="test" value="2" />2</label>
>    <p>Other information</p>
> </div>
> <div>
>    <label><option type="radio" name="test" value="2" />2</label>
>    <p>Other information</p>
> </div>
> 
> Thanks for your help!

Honestly, the best solution for this is to create your own Radio
decorator that can achieve this. Let me know if you need additional
pointers on how to do this.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to