Regex validator allowing empty as an input

GarfHeejure

New Member
Shouldn't this regex validator make sure the user enters something in the textbox? For some reason an empty textbox passes through.\[code\]<asp:RegularExpressionValidator ID="revNumericValidator" runat="server" ValidationExpression="^\d+$" ControlToValidate="tb1" ErrorMessage="Please enter blah (must be a number)." />\[/code\]
 
Back
Top