Skip to content

conditional logic - 'more than or equal to' operator #477

Answered by MadFlip
Iain-g asked this question in Q&A
Discussion options

You must be logged in to vote

Hi lain-g, as far as I know, you can have several values.
This will work as AND:

'conditional_logic' => [
    [
        [
            'fieldPath' => '../tableColumns',
            'operator' => '==',
            'value' => '3',
        ],
        [
            'fieldPath' => '../tableColumns',
            'operator' => '==',
            'value' => '4',
        ],
    ],
]

And this will work as OR:

'conditional_logic' => [
    [
        [
            'fieldPath' => '../tableColumns',
            'operator' => '==',
            'value' => '3',
        ]
    ],
    [
        [
            'fieldPath' => '../tableColumns',
            'operator' => '==',
            'value' => '4',
        ]…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Iain-g
Comment options

@Iain-g
Comment options

@MadFlip
Comment options

MadFlip Jan 19, 2023
Collaborator

@Iain-g
Comment options

Answer selected by steffenbew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants