How can I make lblLineoutReason field required ONLY if the chkLineOut checkbox is checked??
<asp:HyperLink ID="lblLineOut" runat="server" Text="Line Out Record:" CssClass="labelText" Width="140px"></asp:HyperLink>
<asp:CheckBox ID="chkLineOut" runat="server" CssClass="chkBox" Enabled="false" />
<asp:HyperLink ID="lblLineOutReason" runat="server" Text="Reason:" CssClass="labelText" Width="100px"></asp:HyperLink>
<asp:TextBox ID="txtLineOutReason" runat="server" CssClass="textboxDisabled" ReadOnly="true" Width="490px" /><br />
Aucun commentaire:
Enregistrer un commentaire