cisagov / manage.get.gov

A Django-based domain name registrar used by the .gov domain to communicate with an EPP registry
https://get.gov
Other
57 stars 17 forks source link

Conditionally/Dynamically show urbanization field for Puerto Rico #1261

Closed PaulKuykendall closed 1 month ago

PaulKuykendall commented 9 months ago

Issue description

On the "Organization name and mailing address page," the data field referencing "Urbanization" should be visible ONLY when the "State, territory, or military post" is set to Puerto Rico. Otherwise, this field should not be shown.

Image

If Urbanization data exists for an organization, and the "State, territory" field is changed to a non-Puerto Rico value, that data should be deleted from the table. (If the user subsequently changes the "State, territory" field back to PR, then they will need to re-enter the Urbanization data.

Acceptance criteria

Additional context

Miro Research Board Insights repository reference (converted to this ticket)

Interesting information about urbanization in Puerto Rico: "In Puerto Rico, identical street names and address number ranges can be found within the same ZIP Code. In these cases, the urbanization name is the only element that correctly identifies the location of a particular address."

Links to other issues

No response

gabydisarli commented 1 month ago

@vickyszuchin Alysia asked me to bring in this ticket to the Org model work since I will be adjusting this field for Org model users. It wont show to federal agencies.

vickyszuchin commented 1 month ago

Slotted it into sprint 50 which #2377 is in.

vickyszuchin commented 1 month ago

Currently being worked. Adding to current sprint.