I have the following:
[[*buttontitle]] and [[*buttonlink]]
I want to output this only if both of these are notempty: I can do the following for 1 of these:
[[!If? &subject=`[[*buttontitle]]` &operator=`notempty` &then=`output button here`]]
But how do I do this to check both of these to ensure it doesn’t output unless both are not empty? Sorry if this is a dumb question. Still getting my feet wet on this and can’t find this in the documentation anywhere. This seems like it should be fairly simple, perhaps have multiple subjects to check? Is that even possible? The documentation on the if condition does not provide a way to check multiple subjects: If - If | MODX Documentation so I’m guessing it’s not possible to do such a simple thing?