best way to check if 3 textboxes are empty
<p>I have 3 textboxes and I want to check if put together they all add up to greater than blank.
What's the best way to accomplish that?</p>

<pre><code>    &lt;asp:TextBox ID="tbDate" runat="server"&gt;&lt;/asp:TextBox&gt;
    &lt;asp:TextBox ID="tbHour" runat="server"&gt;&lt;/asp:TextBox&gt;
    &lt;asp:TextBox ID="tbMinutes" runat="server"&gt;&lt;/asp:TextBox&gt;

&lt;asp:CustomValidator ID="cvDateControlValidator" runat="server" ErrorMessage="Invalid Date"
    ValidateEmptyText="True" ClientValidationFunction="validateDateOnClient" ControlToValidate="tbDate"
    Display="Dynamic"&gt;&lt;/asp:CustomValidator&gt;

&lt;script type="text/javascript"&gt;   
    function validateDateOnClient(sender, args) {
        if (args.Value.length &gt; 0)
            args.IsValid = false;

        return args.IsValid;
    }

&lt;/script&gt;
</code></pre>

<p>One suggestion was: </p>

<pre><code>if (tbDate.value != '' || tbHour.value != '' || tbMinutes.value != '')
</code></pre>

<p>I want to make sure tbDate, tbHour, tbMinutes together is greater than blank before I perform the client-side validation.</p>
