I have created field like you show and it works perfectly.
I have added some css for borders and I have one question, if I don’t fill that field is still showing on the resource page an empty thing with borders.
My question is: is there any way to show that thing only if field is filled? Something like xf:if field is filled etc.