Another way to do it:
Don't use
onsubmit= in the </form>.
And don't use a submit button.
Instead, just use
Code:
<input type="button" value="Submit" onclick="validateForm()" />
Then it doesn't matter what you return from validateForm, the form won't get submitted.