﻿// JScript File

function validateCall(){
    var name="";        var ContactNo="";
    var captcha="";
    

    
    name = document.getElementById('txtName').value;      
    ContactNo= document.getElementById('txtContactNo').value;
        captcha=document.getElementById('txtCap').value;            //addr = document.getElementById('address').value;       
     
    if(name == "")
    {   
        alert('Please enter Name');       
        document.getElementById('txtName').focus();
        return false;
    }      else  if(ContactNo == "")
    {   
        alert('Please enter Contact Number');
        document.getElementById('txtContactNo').focus();
        return false;
    }
      else if(captcha == "")   {        alert('Please enter Verification Code');
        document.getElementById('txtCap').focus();
        return false;   }
    else    
    return true;}


