> Since I'm not very experienced with asynchronous stuff in Javascript I
> don't know whether this is a flaw in jQuery or an inevitable result of
> the way AJAX works. In the latter case, I guess that the architecture
> of the jQuery form plugin is flawed. Or I must be overlooking a
> possibility to return a value based on the outcome of a AJAX call done
> in the same function.

Tim,

That is not how the beforeSubmit callback is intended to be used.
beforeSubmit is a hook to do *client-side* validation.  If you don't
have client-side validation logic, then just submit the form and let
the server-side validation logic do its thing.

Mike

Reply via email to