I have Zend_Form with button type element. i don't how to use onclick type from zend_form.
Index.phtml
Zend_Form
$Search = new Zend_Form_Element_Submit('Search');
$Search->setAttrib('ID', 'searchbutton');
$Search->setDecorators(array('ViewHelper'));
Here using this zend form how to perform the onclick action using search button.could you please any one help on this?
Thanks for advice!