﻿

// Java Script for Post Resume

function ValidatePostResume ( txtFullName, txtCountryOfOrigin, txtCurrentLocation, txtContactTelephone, txtMobile, txtEmail, txtCurLastLocation, txtCurLastEmployer, txtTotalExp, fileUpload ) 
{
    if (ValidateTextBoxNull(txtFullName, 'First Name', 50) == false)
        return false;
    else if (ValidateTextBoxNull(txtCountryOfOrigin, 'Country', 50) == false)
        return false;
    else if (ValidateTextBoxNull(txtCurrentLocation, 'Current Location', 50) == false)
        return false;
    else if (ValidateTextBoxNull(txtContactTelephone, 'Contact Telephone', 50) == false)
        return false;
    else if (ValidateTextBoxNull(txtMobile, 'Mobile', 50) == false)
        return false;
    else if (ValidateTextBoxFieldEmailId(txtEmail, 'Email', 255) == false)
        return false;
    else if (ValidateTextBoxNull(txtCurLastLocation, 'Last Location', 50) == false)
        return false;
    else if (ValidateTextBoxNull(txtCurLastEmployer, 'Last Employer', 50) == false)
        return false;
    else if (ValidateTextBoxNull(txtTotalExp, 'Total Exp') == false)
        return false;
    else if ( ValidateFileUpload ( fileUpload, 'resume', 255 ) == false )
        return false;
    else
        return true;
}










