[dev] how to attach an action to a submit button

ali mohammed nefertitian at gmail.com
Fri Mar 9 09:43:24 UTC 2007


Hi

I know this sounds really dumb but I cant seem to find a solution for it.
How do I attach an action (Horde_Form_Action) to a submit button in a form
that is generated via the Horde_Form class? My objective is to call a custom
javascript function when the user clicks the submit button on the form.

A code example would be greatly appreciated.

Thanks in advance
Nefertitian.


More information about the dev mailing list