OpenXPKI::Server::Workflow::Validator::BooleanHasFields
class: OpenXPKI::Server::Workflow::Validator::BooleanHasFields
param:
operator: or
error: Please enter at least one value
arg:
- $val1
- $val2
This validator checks whether the number of arguments set matches the boolean
operator. Set in this validator means not empty or undef, the literal value
0 is therefore treated as "true" in the equotation!
Note: The check for and is also true if both values are
NOT set, so this option is used to check if two values exist
together. To check for their general presence simply use the required
attribute.
Two values to use in boolean equotation.
- operator
- One of or, xor, and