Forms across PatientSearch (access request modal), RecordsPage (add record), and ProviderProfile (add staff)
currently only disable the submit button when required fields are empty — there's no inline feedback explaining
why, and no format validation (e.g. email format, passport ID shape). Add a small shared validation helper and
inline error text under each invalid field, shown after first blur/submit attempt.
Acceptance criteria
Forms across
PatientSearch(access request modal),RecordsPage(add record), andProviderProfile(add staff)currently only disable the submit button when required fields are empty — there's no inline feedback explaining
why, and no format validation (e.g. email format, passport ID shape). Add a small shared validation helper and
inline error text under each invalid field, shown after first blur/submit attempt.
Acceptance criteria
pp_...shapearia-describedby