When using <% if SomeField %> conditional fields with only spaces in them are displayed as well. Is there a way to do something like if(trim(strlen($var))>0) in template conditionals?
I'm aware I could do this with a custom function in my php file but then I'd have to check all fields individually which seems rather elaborate.
My apologies in advance by the way if this is something documented or already previously answered.