Is there a way to check if a field with a certain short name exists for a given channel? I'm not checking if a field is left blank, but if it even exists in the field group.
Currently, this only checks for it being blank, but not if it exists. I'm sharing a template for a few channels, but certain fields aren't mirror images of each other per-channel.
{if {segment_1}_code}{{segment_1}_code}{/if}