Hi Folks
I am trying to display content based on either one and/or two conditions being true -
basically if either X AND/OR Y are true display Z else display nothing
%begin_asset_X%
AND/OR
%begin_asset_Y%
Z - Display this if either true
%else_asset%
Nothing to see here
%end_asset%
I have looked through forums but have not found anything that appears to address this
Sorry, I’m tired, could have missed something obvious!!
This really depends on what sort of asset data is getting returned by those keywords, and whether you’re planning on doing something different if both X and Y are true, instead of just one or the other.
For your use case, AND/OR is the same as OR, if the subsequent code path is the same.
No asset data is being returned - it is purely to display some html if either one, od both of the conditions is true.
I will take a look at the link you have posted
Hi Bart - thank you for your response
We are using version v5.5.6.4
Using the coding above;
if X and Y are true “And / Or” displays
If X is true and Y is false “And / Or” displays
If X is false and Y is true “Z” displays
If both X and Y are false “Nothing to see here” displays