Hi All,
Hope you can help me. I need to know how to fix my problem in validating text inputted in the textbox.
Im using the code below to validate the text, the textbox should only accept text in format of hh:mm AM/PM like 10:00 AM or 9:00 PM. something like that.
As you can see there is a SPACE before the AM/PM. The problem is the textbox also accepts a format like this 10:00AM or 9:00PM, the difference on the first one which should be the right format is it has no space before AM/PM but as I can understand my expression
im using is it should have a space before AM/PM. Im also using the same expression in a windows application form which doesnt accept if there has no space before AM/PM thats why i dont understand why it does accept the without space format in the web form.
Please help.
<asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="txttblStartTime& ...
Go to the complete details ...