and how can i use checkbox in the Zend_Form?

2008/3/24, Matthew Weier O'Phinney <[EMAIL PROTECTED]>:
>
> -- Jacky Chen <[EMAIL PROTECTED]> wrote
> (on Monday, 24 March 2008, 05:06 PM +0800):
>
> > i found that view helper of formCheckbox not display options
> > elements,is it a bug or not?
>
>
> I need to update the documentation for that helper. Basically, the
> fourth "$options" parameter is no longer used. If you want to mark
> the element as checked, you need to pass a 'checked' option in the
> $attribs array.
>
> The reason the $options array was removed is because the prior
> implementation was extremely buggy and did not follow w3c
> specifications.
>
>
> --
> Matthew Weier O'Phinney
> PHP Developer            | [EMAIL PROTECTED]
> Zend - The PHP Company   | http://www.zend.com/
>

Reply via email to