How To Submit A Form Using Javascript To Validate