Keeping dialog open on validation failure
I'm using the Form plugin and the Dialog plugin together.
I want the dialog window to remain open on validation failure.
Validation is being handled by a callback method defined in the form
(using Form's beforeSubmit). Validation works, but I don't want the
dialog to close on validation failure. If I define a beforeclose
callback method returning false on the dialog, the dialog still
closes.
I'm new to JQuery and don't fully understand how plugins interact with
each other (or how their methods are being chained).
Any advice would be much appreciated.