E
Emiliano
Can anyone tell me how to or point me in the right direction for this?
I have a .aspx web for that uses <asp:requiredfieldvalidator... to
ensure fields are filled out. However I have field that is only
madatory if the user checks a certain checkbox. Any ideas on how to
validate on this condition only?
my code is below with no validation set:
<p><asp:checkbox runat="server" ID="TenantOrganization" /> Please
check the box if your organization or company is a tenant of the same
building where this garage is located.</p>
<p>If checked, please provide the name of your organization below:<br>
<asp:textbox runat="server" id="OrgName" Columns="35" MaxLength="50"
/>
I have a .aspx web for that uses <asp:requiredfieldvalidator... to
ensure fields are filled out. However I have field that is only
madatory if the user checks a certain checkbox. Any ideas on how to
validate on this condition only?
my code is below with no validation set:
<p><asp:checkbox runat="server" ID="TenantOrganization" /> Please
check the box if your organization or company is a tenant of the same
building where this garage is located.</p>
<p>If checked, please provide the name of your organization below:<br>
<asp:textbox runat="server" id="OrgName" Columns="35" MaxLength="50"
/>