
function validate_form_1052(){
    reset_input("form_1052");
    with (document.form_1052){
            
        if(inputObj=document.getElementById("webdev_name")){
            if(webdev_name.value==""){
                inputError("Please enter your name", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_type")){
            if(!selectBoxIsSelected("webdev_type")){
                inputError("Please choose between a Company or an Individual", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_company_name")){
            if(webdev_company_name.value==""){
                inputError("Please enter the name of your company", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_company_industry")){
            if(webdev_company_industry.value==""){
                inputError("Please enter the type 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 company website", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_company_location")){
            if(!selectBoxIsSelected("webdev_company_location")){
                inputError("Please choose the location of your company", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_company_position")){
            if(webdev_company_position.value==""){
                inputError("Please enter the name of your position", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_company_contact_number")){
            if(webdev_company_contact_number.value==""){
                inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
            }
                else
                if(!is_phone_number("webdev_company_contact_number")){
                    inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
                }
        }
        if(inputObj=document.getElementById("webdev_individual_location")){
            if(!selectBoxIsSelected("webdev_individual_location")){
                inputError("Please choose your location", inputObj);
                inputObj.focus();
                return false;
            }
        }
        if(inputObj=document.getElementById("webdev_individual_contact_number")){
            if(webdev_individual_contact_number.value==""){
                inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
            }
                else
                if(!is_phone_number("webdev_individual_contact_number")){
                    inputError("Please enter a valid phone number", inputObj);
                inputObj.focus();
                return false;
                }
        }
        if(inputObj=document.getElementById("webdev_email")){
            if(webdev_email.value==""){
                inputError("Please enter a valid email address", inputObj);
                inputObj.focus();
                return false;
            }
                else
                if(!isValidEmail("webdev_email")){
                    inputError("Please enter a valid email address", inputObj);
                inputObj.focus();
                return false;
                }
        }
        if(inputObj=document.getElementById("webdev_project")){
            if(webdev_project.value==""){
                inputError("Please write about your project", inputObj);
                inputObj.focus();
                return false;
            }
        } 
        }
        var formObj=document.getElementById("form_1052");
            formObj.target="upload1052";
            return true;
    }