var submitcount85514 = 0;function checkWholeForm85514(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.CAT_Custom_339443) why += checkDropdown(theForm.CAT_Custom_339443.value, "Qualification");if (theForm.CAT_Custom_339444) why += checkSelected(theForm.CAT_Custom_339444, "Course Entry Requirements (place a tick to the left of each requirement you meet):");if (theForm.CAT_Custom_339441) why += isEmpty(theForm.CAT_Custom_339441.value, "Mobile Phone Number");if (theForm.CAT_Custom_339442) why += isEmpty(theForm.CAT_Custom_339442.value, "Full Mailing Address");if (theForm.CAT_Custom_339440) why += isEmpty(theForm.CAT_Custom_339440.value, "What do you hope to gain from the training?");if (theForm.CAT_Custom_339445) why += isEmpty(theForm.CAT_Custom_339445.value, "How did you hear about us? (ie. past student, newsletter, email etc)"); if (theForm['g-recaptcha-response']) why += reCaptchaV2IsInvalid(theForm, "Please prove you're not a robot"); if(why != ""){alert(why);return false;}if(submitcount85514 == 0){submitcount85514++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
//
-->