cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quoin Developers <quoin...@gmail.com>
Subject Re: ajax cform and forms_onsubmitHandlers issues
Date Wed, 07 Dec 2005 20:17:44 GMT
So the forms_onsubmit() method needs boolean indicator as to whether
the form has already been submitted for server processing (distinct
from an ajax forms submission) to know whether it should process the
onsubmit handlers array. It should no longer simply use the
forms_onsubmtHandlers stack for that indication. When ajax is
submitting the form, maybe it can pass an object to the
forms_onsubmit() indicating that this is an Ajax call.

It would also be nice to have an object to hold all the global forms
variables (so that we could scope them and eventually support mutliple
forms on the same page).

Regards,
Eric

Mime
View raw message