I want to test Submit() [Using IF statement.....] if it returns false, the Script should not allow me to submit the form
The validation script (which you did not post) should
not allow the form to submit() unless the form validates.
Besides, in your Submittest() function.
You are submitting the form and then validating.
Should at least be this: