Array: do not display the field if the field has no value


i hope someone can help me with my issue. In my schema an array can contain a maximum of 4 values but it should only be filled if a value is contained in the schema. that means if no value is contained it should not appear in the array.

if the id dont exist it shouldnt be displayed

I hope that you get my problem.