I have a few form elements where I want a small 'info' button (just an
image with an onClick trigger) to appear next to the form element
itself, but I'm not sure how to go about doing this. Should I extend
Zend_Form_Element_X or is this something a decorator could handle?
What I am looking for in the final output is something like this:

<dl>
  <dt>LABEL:</dt>
  <dd><input type="text" name="TextBox" id="TextBox"> <img
src="/images/info.png" onClick="TextBoxInfo();"></dd>
</dl>

Thanks,
Chris

Reply via email to