Fixed issue with formatting of custom field. The custom field needed to be formatted according to the custom field setting.