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
