Force a validation group to fail if a condition isn't met
<p>I have a group of text boxes that have required field validation hooked up to them. Obviously they all share the same validation group name. I have a check box for terms of service that needs to be checked before clicking on the submit button actually does anything.</p>

<p>Is there some C# code that will say if this box isn't checked, fail the validation group?</p>

<p>Or is there a better way?</p>

<p>edit:
I added a custom validator and used this in my code behind. Does not work.</p>

<pre><code>protected void CustomValidator1_ServerValidate(object source, ServerValidateEventArgs args)
{
    args.IsValid = false;
    if (cbxTerms.Checked)
        args.IsValid = true;
}
</code></pre>
