[[If? &subject=`[[*id]]` &operator=`inarray` &operand=`6,11,12` &then=`Show this if all 3 are empty` &else=`` ]]
This question has been answered by multiple community members. See the first response.
[[If?
&subject=`[[*placeholder-1]][[*placeholder-2]][[*placeholder-3]]`
&operator=`empty`
&then=`Show this if all 3 are empty`
&else=``
]][[!If? &subject=`birds` &operator=`inarray` &operand=`dogs, birds, cats` &then=`Birds` &else=`No birds` ]]
[[!ifEval? &input=`stripos("dogs, birds, cats", "birds") !== false` &contentTrue=`Birds` &contentFalse=`No birds`]]I'm trying to use the If extra to identify words in a text array, but I find that it only works for numbers. How can I solve this problem?
For example:
[[!If? &subject=`birds` &operator=`inarray` &operand=`dogs, birds, cats` &then=`Birds` &else=`No birds` ]]