Skip Navigation

[Resolved] Views conditional HTML and AND/OR/NOT constructions

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.


This topic contains 2 replies, has 2 voices.

Last updated by stefanB-2 6 years, 2 months ago.

Assigned support staff: Shane.


I'm struggling with the wpc-if syntax, to define the appropriate syntax to display certain things when my customer field = equal to 2 or 3 different strings

If have used this - but no correct result:

[wpv-if c2="wpcf-proces-status" evaluate="$c2='Pre' OR 'Exe'"]  

Proces-status is a "select field".

What is the right method to use the AND/OR/NOT expressions?



Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Stefan,

Thanks for contacting our support forum.

The correct syntax on using the Boolean expression i.e the OR is.

[wpv-if c2="wpcf-proces-status" evaluate="'$c2'='Pre' OR '$c2'= 'Exe'"]  

Please try this and let me know if it works for you.



Thanks - small change in coding - but its making the difference!