I customized a list form via JSON to sort the entries for the user. Now I want to modify a text in the header based on if there's an attachment in that list item or not.
I already included the attachment-column in my list. My code (not working) so far is:
"txtContent": "=if([$Attachments] == 0, 'no attachment', 'item has attachment')"
I also tried to put the number in '', changed it to true and false. Nothing works.