-- Sascha <[EMAIL PROTECTED]> wrote
(on Wednesday, 31 October 2007, 03:16 PM +0100):
> If I am right, the Viewhelper FormRadio does not support the attribute "id"?!
> 
> Was it forgotten? Or could somebody tell me how to get that work?

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

XHTML attributes are supported by passing them in an assoc array to the
third argument of all form*() view helpers. ID is one of these. If no
'id' is sent, however, the value passed for the element name (first
argument) will be used.

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

Reply via email to