hi all,
i have this situation:
i have 3 textbox, named txtnum, txtdata1 and txtdata2 and i have a comparevalidation control on txtdata1 and txtdata2. This validation works good but i have a problem, i want to trigger the validation just if txtnumdoc is empty, another way is not important the txtdata1 and txtdata2 values.
how can i do this?
thx in advance
if could be important, this is the comparevalidation code
<asp:CompareValidator ID="validateData" runat="server"
ControlToValidate="txtdata1"
ControlToCompare="txtdata2"
Type="Date"
Operator="lessthanequal"
Display="Dynamic"
ErrorMessage="Error">
</asp:CompareValidator>
...
Go to the complete details ...