Consider: Conditionally require field_clinic_name on Service Location Address #17380
Open
1 of 9 tasks
Labels
Drupal engineering
CMS team practice area
Facilities
Facilities products (VAMC, Vet Center, etc)
Needs refining
Issue status
sitewide
VAMC
CMS managed product owned by Facilities team
VBA
for VBA facilities that are not Regional Offices
User Story or Problem Statement
As a Facilities team member, I want to prevent Editors from entering information that will result in skipped headings. While there may be ways to make the Front End defensive against these scenarios, making a requirement at the Drupal level could be more impactful long-term
As a consumer of the Facilities API, I need a unique ID to differentiate Service Locations when there are more than 1 on a Service
Desired logic:
IF either
field_building_name_number
orfield_wing_floor_or_room_number
are populatedTHEN
field_clinic_name
should be requiredALSO
IF there are two or more Service Locations on a Service
THEN
field_clinic_name
should be requiredAND Should be different that other Service Locations on the Service
Possible wrinkle:
Service Location Address is nested in Service Location which is nested in four different Facility Services. Can this logic live at the Paragraph level, or does it need to be added to every Content Type that uses the Paragraph?
Description or Additional Context
Steps for Implementation
Acceptance Criteria
Team
Please check the team(s) that will do this work.
The text was updated successfully, but these errors were encountered: