Re: T5: Client-side Execution before form submission

2008-02-28 Thread Michael Lake
Howard - Thanks - that's a start. Unfortunately I need(ed) a way to stop the form submission. I'm executing code that has a callback to tell me it's done. $('form').observe("form:prepareforsubmit", function(event) { if(!callbackExecuted){ event.stop(); //this won't stop

Re: T5: Client-side Execution before form submission

2008-02-27 Thread Howard Lewis Ship
In 5.0.11-SNAPSHOT you can observe the "form:prepareforsubmit" event on the Form object. By observe, I mean all the Protoype stuff: $(form).observe("form:prepareforsubmit", function() { ... }); On Tue, Feb 26, 2008 at 10:45 AM, Michael Lake <[EMAIL PROTECTED]> wrote: > > I've got some javascrip