Test Command for Validation Rules

The Test Command for Validation Rules allows you to test and play around with validation rules from within the configuration tool.

To use the Test Command for Validation Rules:

1.) Right click a Validator node (*) and choose Test.
TestValidatorMenu.png

2. Within the dialog that appears, set the appropriate type used as input for the validator and the culture that should be used to convert the input value.
TestValidator.png

3. Start typing a value in the Value field. With every keystroke the Validator will be evaluated. A validation message (in my case <empty> will appear if the value is invalid.
ValueIsInvalid.png

4. Once a valid value was entered, the dialog will say "Value is valid"
ValueIsvalid.png

(*) Any of the following Validators can be used:
  • ContainsCharactersValidator
  • DateRangeValidator
  • DomainValidator
  • EnumConversionValidator
  • RelativeDateTimeValidator
  • StringLengthValidator
  • TypeConversionValidator

Last edited Dec 22, 2009 at 9:02 PM by ewdev, version 2

Comments

No comments yet.