Returning false in the beforeclose callback works for me. Can you put
together a simple test page showing that it doesn't work for you? You
can use jsbin.com if you don't have a place to host your own files.


On Oct 13, 4:26 pm, HG <[email protected]> wrote:
> 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to