Home > Guides > Core Developers Guide > Validation > conditionalvisitor validator |

Apache Struts 2 Documentation
conditionalvisitor validator
Edit Page Browse Space Add Page Add News

# Description

The ConditionalVisitorFieldValidator will forward validation to the VisitorFieldValidator only if the expression will evaluate to true.

# Parameters

- expression - an OGNL expression which should evaluate to true to pass validation to the VisitorFieldValidator

# Examples