Hello, I have an image element in my Zend_Form.
$dropDownButton = new Zend_Form_Element_Image('image_button');
$dropDownButton->setOptions(array('image'=>'/images/image1.png',
'style'=>'padding-top:20px',
)
);
$this->addElement($dropDownButton);
The above image is serving as some form of 'submit' button. the html output is:
<dd>
<input type="image" style="padding-top: 20px;" alt="" src="/images/image1.png" id="image_button" name="image_button">
</dd>
For all other Zend form elements, I get something like:
<dd id="name-element"></dd>
How can I do the same in case of an Image Zend Form Element?
Is there a way I can set the id?