Matrix Version: 5.3.1
Hi all, I am having a problem with my Conditional Keyword Statements not evaluating correctly when I am using them through a paint layout applied attached to a Container Template applied to a container.
So the metadata fields live on the page asset that has the container to which the template is applied.
I have it reading the metadata content perfectly fine in the Container Template using the %globals_asset_metatata_% – i.e. if I tell it to print the contents of the field, it will.
However, when I then create a Conditional Keyword so that I can only display if the metadata field has contents, it always returns as though the field has contents – even when it does not.
I have tried using both the Logical and Regex condition types. Neither evaluate as false when there is no field input. (Yes, still using the Globals metadata keyword)
I have used Conditional Keywords on paint layouts applied directly to the page before, without a problem. I am not sure what is going on here and why it doesn’t work.
Anyone else had this problem?
Any ideas of what I may be doing wrong? or how to fix?
Thanks,
Emily.