read-only merge fields

Add support to make merge fields readonly, i.e. that the user cannot edit the merge field text.