Hi, I'm trying to show show a modal window containing a SQLFORM. I'm using the standard twitter bootstap. If the SQLFORM passes the validation that everything is fine (form closes, processed OK, db updated etc). However, if validation fails then the modal window still closes. I have to re-open the modal form (via link) to see the validation errors. I have added some script to look for errors and re-display the modal form but its still not great. I have looked at solving the problem with ajax but it seemed over complicated [I'm a regular desktop app developer so all this web stuff is new to me].
Is there a simple way without lacking of jQuery hacking to show a SQLFORM (or CRUD form) in a modal window, do the postback and have the window close ONLY if there are no validation errors in the form. Kind Regards, Chris --

