Jorg Heymans wrote:
Hi,
Is it possible to fully override the onsubmit handler that is generated by cforms? Cocoon allways puts a forms_onsubmit() infront of whatever i put in the handler of the form template, causing my javascript code not to be executed upon submit. The whole of google has only 2 references to forms_onsubmit() so i am really wondering what this thing actually does.
Thanks to the very active google-spider, google now contains 5 references to forms_onsubmit() :-)
Anyone have a clue what this thing actually does? my
<ft:form-template onsubmit="alert('hello')">is transformed by cforms to
<form onsubmit="forms_onsubmit(); alert('hello');">causing the alert function not to be executed anymore...
Regards Jorg Heymans
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
