-- Sascha <[EMAIL PROTECTED]> wrote
(on Tuesday, 06 November 2007, 04:41 PM +0100):
> I noticed that the Zend_View_Helper_FormRadio does not support the id
> attribute.
> 
> Is  there a way to use the Helper with the id attribute for each generated
> checkbox?
> 
> Is it a missing or forgotten feature or perhaps a bug?

By default, the name presented is used as an ID. Otherwise, you can
specify it in the third argument:

    $this->formRadio('foo', 'bar', array('id' => 'foo-bar'));

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

Reply via email to