javascript - ASP.Net RegularExpression Validator - Parsing bug -
Using ASP.NET RigXP Vedic, I want to write a regular expression which ensures that the field has only numerical and decimal values, and at least one letter
^ [0- 9] {1,40} (\ [0- 9] {1,2})? $
Originally: [0- 9] {1,40}
- Meaning of at least one to 40 numeric characters.
ASP.Net does not have a fire for the regexp validator, an empty area - where there is at least one letter.
Actions-around: Using the custom validator in javascript with regexp check:
Code> txtMinTrans.length == 0 .
There is no need to check if someone else has experienced this.
Regx verifier will not actually run unless there is no value in the field. However, you can also point to the same text box control. Es, so both will handle its responsibilities against it - empty and patterns.