Conditional Logic: Display if field a is "x" and field b is "1", "2" or "3"

Hey guys, I’d like to display certain items only if more than one condition are met. Example:

Type of document is: Marriage Certificate
Language is: Russian, Ukrainian or German

Any way to do this?

You can use the built-in conditional logic for ANY or ALL comparisons for multiple fields. But you would not be able to say “If field B is 1, 2 or 3” plus your condition for field A simultaneously. There is a 3rd party plugin that may be able to help:

There was also a proof of concept from Gravity Wiz, which is available here:

If you have any other questions, please let us know.

1 Like

Thanks Chris! Would I simply paste that PHP into my functions.php?

That is a plugin that you can download and put into wp-content/plugins/

Please read the comments there, because that is more of a proof of concept than a complete solution.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.