How to combine conditional fields that ALL have to match
-
Hi there,
I want to show a member specific shortcode for which the member shall control the visibility.
Therefore I set up the following:
1) A username field visible to admin only
2) A dropdown field visible to admin & profile owner with the “show / don’t show” options named “show-products”
3) One shortcode field that carries the member specific shortcode and is using the two above as conditionals:
3.1 SHOW > if > username > EQUALS > %username% (I put that last value in manually to match the inserted member specific shortcode)
3.2 SHOW > if > show-products > EQUALS > yesI set this up for two sample members.
While the filter (conditional) by username works perfectly to show the member specific shortcode in that member’s profile only, once I add the “show-products” selector, BOTH members’ shortcodes get rendered in BOTH members’ profiles once ANY member turns the “show-products” option to “yes”.So to me this seems as if the combination of different conditional fields doesn’t chain up with “AND” operators, but it seems to show once at least one condition matches? So that would be an “OR” operator.
Question: How do I need to set up several conditional fields so that ALL criteria must be met in order to show a field and hide it if not all criteria match?
Thanks a ton. ??
Piet
- The topic ‘How to combine conditional fields that ALL have to match’ is closed to new replies.