asp.net validation controls client script
<p>environment: asp.net 3.5</p>

<pre><code>&lt;asp:CustomValidator ID="cvServerValidateDate" runat="server" 
    ControlToValidate="tbDate" onservervalidate="cvValidateServer" 
    ValidateEmptyText="True" ClientValidationFunction="validateDate"&gt;&lt;/asp:CustomValidator&gt;



&lt;script type="text/javascript"&gt;
    function validateDate(oSrc, args)
    {
        args.IsValid = (args.Value.length &gt;= 8);        
    }
&lt;/script&gt;  
</code></pre>

<p>if the client-side validation is args.IsValid = false is there a way to access the validator's error message value to indicate a specific error? i have several different error messages and i'd like to send of them based on type of error.</p>
