I have a form with an onSubmit call to a function checkJobDone(). What I want is for the action (to load another page) to be executed ONLY if checkJobDone() returns true. Otherwise the function displays an alert() and should not execute the action. The check works; the alert() is displayed when it should but at present it always carries out the action and loads the next page...

Thanks chaps G