Question:
How can I insert a style
into an option
element using Zend_Form?
I'm using Zend Framework 1 .
Answer:
You can use setAttrib
to enter your attribute and value:
foreach ($this->getElements() as $element) {
$element->setAttrib('class', $minhaClasse);
}
More on here.