var submitcount84272 = 0;function checkWholeForm84272(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.HomeAddress) why += isEmpty(theForm.HomeAddress.value, "Home Address"); if (theForm.HomeCity) why += isEmpty(theForm.HomeCity.value, "Home City"); if (theForm.HomeState) why += isEmpty(theForm.HomeState.value, "Home State"); if (theForm.HomeZip) why += isEmpty(theForm.HomeZip.value, "Home Zipcode"); if (theForm.HomeCountry) why += checkDropdown(theForm.HomeCountry.value, "Home Country"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.DOB) why += checkDate(theForm.DOB.value, "Date of Birth"); if (theForm.CAT_Custom_341351) why += isCurrency(theForm.CAT_Custom_341351.value, "Phone number (mobile preferred)");if (theForm.CAT_Custom_341382) why += checkSelected(theForm.CAT_Custom_341382, "Do you already have a qualification?");if (theForm.CAT_Custom_341342) why += checkSelected(theForm.CAT_Custom_341342, "Do you have a personal Tax File Number? (information needed to help us with our application)");if (theForm.CAT_Custom_341343) why += checkSelected(theForm.CAT_Custom_341343, "Does your business have any of the following structures (tick all that apply. This information is needed to help us with the application)"); if (theForm['g-recaptcha-response']) why += reCaptchaV2IsInvalid(theForm, "Please prove you're not a robot"); if(why != ""){alert(why);return false;}if(submitcount84272 == 0){submitcount84272++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
//
-->