Re: onSubmit Handlers and Ajax

2006-12-28 Thread Jeremy Quinn
Hi All Another question Currently, when onSubmit Handers are called, they are able to stop the form submit by returning false. OK so far. However, if you have multiple handlers and say the middle one returns false, the ones after it, do not get called at all. Is this the right

Re: onSubmit Handlers and Ajax

2006-12-28 Thread Carsten Ziegeler
Hmm, I'm not sure - I haven't used onSubmit handlers so far as they did not work with multiple forms :) So we are currently using our own handler implementation. We mainly use them for client-site prevalidation like checking for required fields etc. In this case I think it makes sense to stop

Re: onSubmit Handlers and Ajax

2006-12-28 Thread Jeremy Quinn
On 28 Dec 2006, at 15:16, Carsten Ziegeler wrote: Hmm, I'm not sure - I haven't used onSubmit handlers so far as they did not work with multiple forms :) So we are currently using our own handler implementation. Well hopefully this will be solved :) We mainly use them for client-site

Re: onSubmit Handlers and Ajax

2006-12-28 Thread Carsten Ziegeler
Jeremy Quinn wrote: If I understand you correctly, I think I would prefer all pre- validation to occur even if there are validation errors found, otherwise user needs to fix-submit, fix-submit etc. to 'discover' the errors one by one. I would rather see all validation errors in one go.

Re: onSubmit Handlers and Ajax

2006-12-28 Thread Jeremy Quinn
On 28 Dec 2006, at 16:12, Carsten Ziegeler wrote: Jeremy Quinn wrote: If I understand you correctly, I think I would prefer all pre- validation to occur even if there are validation errors found, otherwise user needs to fix-submit, fix-submit etc. to 'discover' the errors one by one. I would