
function validate_form_1062(){
    reset_input("form_1062");
    with (document.form_1062){
            
        if(inputObj=document.getElementById("secbac_name")){
            if(secbac_name.value==""){
                inputError("Please enter your name", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_type")){
            if(!selectBoxIsSelected("secbac_type")){
                inputError("Please choose between a Company or an Individual", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_company_name")){
            if(secbac_company_name.value==""){
                inputError("Please enter the name of your company", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_company_industry")){
            if(secbac_company_industry.value==""){
                inputError("Please enter what kind of industry your company is in", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("company_website")){
            if(company_website.value==""){
                inputError("Please enter the URL of your website, or NONE", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_company_location")){
            if(!selectBoxIsSelected("secbac_company_location")){
                inputError("Please choose the location of your company", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_company_position")){
            if(secbac_company_position.value==""){
                inputError("Please enter the name of your position", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_company_contact_number")){
            if(secbac_company_contact_number.value==""){
                inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
            }
                else
                if(!is_phone_number("secbac_company_contact_number")){
                    inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
                }
        }
        if(inputObj=document.getElementById("secbac_individual_location")){
            if(!selectBoxIsSelected("secbac_individual_location")){
                inputError("Please choose your location", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_individual_website")){
            if(secbac_individual_website.value==""){
                inputError("Please enter the URL of your website, or NONE", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("secbac_individual_contact_number")){
            if(secbac_individual_contact_number.value==""){
                inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
            }
                else
                if(!is_phone_number("secbac_individual_contact_number")){
                    inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
                }
        }
        if(inputObj=document.getElementById("secbac_email")){
            if(secbac_email.value==""){
                inputError("Please enter a valid email address", inputObj);
                inputObj.focus();
                return false;
            }
                else
                if(!isValidEmail("secbac_email")){
                    inputError("Please enter a valid email address", inputObj);
                inputObj.focus();
                return false;
                }
        }
        if(inputObj=document.getElementById("secbac_interested ")){
            if(!selectBoxIsSelected("secbac_interested ")){
                inputError("Which services are you interested?", inputObj);
                inputObj.focus();
                return false;
            }
        } 
        }
        var formObj=document.getElementById("form_1062");
            formObj.target="upload1062";
            return true;
    }