DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

« FieldHasValue »

This condition is verified when a given field has a given value.

Properties

You can find below a list of parameters usable by this condition.

Property Title
* fieldName Name of the field
* fieldValue Value of the field

Name of the field

Property

fieldName

Required?

Yes

Description

Name of the wanted field.

Value of the field

Property

fieldValue

Required?

Yes

Description

The value the field must have in order for the condition to be verified.

Example

activation {
    items {
        colorIsRed {
            type = fieldHasValue
            fieldName = color
            fieldValue = red
        }
    }
}