I have a class MyField
that extends FormField
(it is a custom Form Field I can add via Form Builder). I have one field in the .ascx
file:
<telerik:TextField ID="Status" CssClass="sfTxtID" style="visibility:hidden;" runat="server">
</telerik:TextField>
Currently, if the user presses the Submit
button the form submits even though the Status
TextField is empty.
My question is: How can I validate my field when the submit button is pressed and show an error if its not filled out?