How to create a field macro similar to the tag macro