Fork me on GitHub
Edit on GitHub << back to Custom Validator Annotations

ValidationParameter annotation

Usage

The annotation must be embedded into CustomValidator annotations as a parameter.

Parameters

Parameter Required Default Notes
name yes   parameter name
value yes   parameter value

Examples

 @CustomValidator(
   type ="customValidatorName",
   fieldName = "myField",
   parameters = { @ValidationParameter( name = "paramName", value = "paramValue" ) }
 )
Follow @x