Re: [fw-general] Zend_Form - Adding CSS classnames to multiCheckbox inputs

2009-08-13 Thread Peter Warnock
On Tue, Aug 11, 2009 at 11:07 AM, Hector Virgen djvir...@gmail.com wrote: I am building a form that uses the multiCheckbox form element. I need to add class names to specific checkboxes for javascript purposes. Is there a way to do that? -- Hector Why not navigate the dom with

Re: [fw-general] Zend_Form - Adding CSS classnames to multiCheckbox inputs

2009-08-13 Thread Hector Virgen
Thanks for the reply, Peter. I could walk the dom, and in fact I'm using jQuery, but I'm shooting more for a pattern-based approach to accomplishing this task. Here's a little more background as to why I need (er, want) CSS class names. I am building a search form that contains a multiCheckbox

[fw-general] Zend_Form - Adding CSS classnames to multiCheckbox inputs

2009-08-11 Thread Hector Virgen
Hello, I am building a form that uses the multiCheckbox form element. I need to add class names to specific checkboxes for javascript purposes. Is there a way to do that? I tried this, but it ended up adding the class name foo to all of the checkboxes: $this-addElement('multiCheckbox',