Syntax
| C# |
|---|
public interface IBrowserValidationGenerator |
The type exposes the following members.
Public Methods
| Name | Description | |
|---|---|---|
| SetAsNotSameAs |
Set that a field value must _not_ be the same as another field's value.
| |
| SetAsRequired |
Sets that a field is required.
| |
| SetAsSameAs |
Set that a field value must be the same as another field's value.
| |
| SetDate |
Set that a field value must be a valid date.
| |
| SetDigitsOnly |
Set that a field should only accept digits.
| |
| SetEmail |
Sets that a field value must be a valid email address.
| |
| SetExactLength | Overloaded. | |
| SetLengthRange | Overloaded. | |
| SetMaxLength | Overloaded. | |
| SetMinLength | Overloaded. | |
| SetNumberOnly |
Set that a field should only accept numbers.
| |
| SetRegExp |
Sets that a field value must match the specified regular expression.
| |
| SetValueRange | Overloaded. |