Description
Calling form.submit() does not execute code on the onsubmit=".." event handler:
http://bytes.com/topic/javascript/answers/147399-submitting-form-onsubmit-validation
so the the validation code must be also be called on the onclick=".." event handler for the SubmitLink.