Validator.EqualsTo Method
Defines a validation test that test user input against the value of another field.
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
public static function EqualsTo( otherFieldName : String, errorMessage : String ) : IValidator
Parameters
- otherFieldName
- Type: System.String
The other field to compare.
- errorMessage
- Type: System.String
The error message to display if validation fails.
Show: