﻿    function isNunCheck(oSrc,args)
    {
        args.IsValid=isNaN(document.getElementById('txtFname').value);
    }
    function isLnameCheck(oSrc,args)
    {
        args.IsValid=isNaN(document.getElementById('txtLName').value);
    }
    function isMnameCheck(oSrc,args)
    {
        args.IsValid=isNaN(document.getElementById('txtMName').value);
    }
    function isCasteCheck(oSrc,args)
    {
        args.IsValid=isNaN(document.getElementById('txtCaste').value);
    }
    
    function IsRelatedNumeric(oSrc,args)
    {
     args.IsValid=isNaN(document.getElementById('txtRWithMember').value);
    }
    
    function IsFcnameNumeric(oSrc,args)
    {
     args.IsValid=isNaN(document.getElementById('txtFname').value);
    }
    
    function IsMcnamedNumeric(oSrc,args)
    {
     args.IsValid=isNaN(document.getElementById('txtMNAme').value);
    }
    
    function IsLcnameNumeric(oSrc,args)
    {
     args.IsValid=isNaN(document.getElementById('txtLname').value);
    }
    
    function checkLength(oSrc,args)
    {
     var userid=document.getElementById('txtUserid').value          
     if(userid.length < 6 && userid.length < 32)
        {
        args.IsValid=false;
        }      
    }
    
    function passwordLength(oSrc,args)
    {
     var passwords=document.getElementById('txtPassword').value     
     
     if(passwords.length < 6 && passwords.length < 32)
        {
        args.IsValid=false;
        }      
    }
    


