Added client-side behaviour for add custom field