I've wrapped around an if condition around a div, but it seems to work for some cases and doesn't work for some. I have tried using |length, is defined, is not empty and is not null but none of them work. When I turn dev mode on to see the length of an empty field (entry.fieldName|length), I'm getting the number 61 instead of 0.
I've wrapped around an if condition around a div, but it seems to work for some cases and doesn't work for some. I have tried using |length, is defined, is not empty and is not null but none of them work. When I turn dev mode on to see the length of an empty field (entry.fieldName|length), I'm getting the number 61 instead of 0.