How to validate the controls?
The validate attribute allows to specify the validations for the control. The validate rules and numbers are as follows: 0- None 1- IsNotEmpty – will not allow the submit to happen if the field is empty 2- IsNumeric – will allow only numeric chars into the control. Note: The above validations can be used in combination by adding the numbers. For example Numeric with Not Empty would be 2+1 = 3.These rules are executed only on clicking the submit button.
Related Questions
- SECURITRE controls appear to be defined per User-ID. Does a facility exist to define rules by groups of User-IDs similar to Top Secret Profiles?
- Does Daystar have a film that controls fading and heat damage while letting maximum light into rooms?
- What controls are currently in place to safeguard against BSE?