Dynamically generates entry fields for merge templates