MEDIUM story-contact-detail-management-coordinator-006 3 pts
3
Story Points
Medium
Priority
Contact Detail & Management
Feature

User Story

As a Coordinator
I want to edit the values of organisation-specific custom fields for a contact directly within the edit contact form, using the appropriate input type for each field
So that So that structured, organisation-required data is captured accurately in designated fields rather than buried in free-text notes, ensuring consistent data quality across all contacts

Acceptance Criteria

  • Given a coordinator opens the edit contact screen, when custom fields are loaded, then each field is rendered as an editable input with the correct input type (text input, dropdown, or date picker)
  • Given a coordinator enters an invalid value in a custom field (e.g., text in a date field), when they attempt to advance or submit, then field-level validation blocks progression with a descriptive error message
  • Given a peer mentor opens the edit contact screen, when custom fields are loaded, then custom fields are rendered as read-only and no edit affordance is presented
  • Given a coordinator submits updated custom field values, when the Contact Management Service processes the save, then the updated values are immediately reflected on the contact detail screen
  • Given an organisation has select-type custom fields with predefined options, when the coordinator taps the field, then a list of the organisation-defined options is displayed for selection

Business Value

Coordinator-controlled custom field editing ensures that structured, organisation-required data is entered by the role with the broadest context and highest accountability. Allowing peer mentors to edit these fields would risk inconsistent or incorrect values being saved, which could corrupt the structured data that feeds into Bufdir compliance reports and internal quality reviews. Role-restricted editing maintains data integrity at the source.