blob: d80d8e2c95306c04c50e2833dad3c0981ff55caf [file] [view]
---
layout: default
title: ValidationParameter annotation
parent:
title: Custom Validator Annotations
url: custom-validator-annotation
---
# 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
```java
@CustomValidator(
type ="customValidatorName",
fieldName = "myField",
parameters = { @ValidationParameter( name = "paramName", value = "paramValue" ) }
)
```