cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans>
Subject cforms forms_onsubmit()
Date Fri, 20 Aug 2004 15:36:10 GMT

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.

Also: is it possible to just use plain cforms without continuations? I 
used to do form.showForm() but that creates a new continuation each 
time. My usecase really does not need continuations, so i tried doing 
cocoon.sendPage("display", {"CocoonFormsInstance": form}) resulting in a 

I am using, should i switch to CVS for using basic cforms?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message