Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Preferred Name #18169

Closed
steveburtch opened this issue Oct 13, 2023 · 2 comments
Closed

UI: Preferred Name #18169

steveburtch opened this issue Oct 13, 2023 · 2 comments
Assignees
Labels
BTR Business Transparency Register Register BO

Comments

@steveburtch
Copy link

steveburtch commented Oct 13, 2023

We need an additional name field to allow users to enter a "preferred name" so that people who do not use their full legal name to identify themselves can do so when registering.

Design Ticket
UI Design: Preferred Name #18168

Instructions

  • Place under legal name

  • make it optional

  • single name field may contain spaces and multiple words

  • 150 char (Avinash will check what BCROS standard is) (Confirmed with Ethan Pitt, see comments below)

  • UTF8

  • optional

Acceptance Criteria

Feature: Preferred Name Form Component

Scenario: Entering a single word in the Preferred Name field
Given the user is on the form with the Preferred Name field
When the user enters a single word into the Preferred Name field
Then the input should be successfully validated

Scenario: Entering multiple words separated by spaces in the Preferred Name field
Given the user is on the form with the Preferred Name field
When the user enters "John Doe" into the Preferred Name field
Then the input should be successfully validated

Scenario: Leaving the Preferred Name field blank
Given the user is on the form with the Preferred Name field
When the user leaves the Preferred Name field blank
Then the input should be successfully validated since the field is optional

Scenario: Entering a name that exceeds the character limit
Given the user is on the form with the Preferred Name field
When the user enters a name that is 251 characters long
Then the user should receive a validation error stating the 250 character limit

Scenario: Entering a name with special characters using UTF8 encoding
Given the user is on the form with the Preferred Name field
When the user enters a name containing UTF8 special characters
Then the input should be successfully validated

@steveburtch steveburtch added Register BO BTR Business Transparency Register labels Oct 13, 2023
@Apt766525
Copy link
Collaborator

Apt766525 commented Oct 18, 2023

@steveburtch @forgeuxGH5 For business names, on the name request site, we have a 150-character limit on it, for example, the validation:

Similarly, for names, we have 50-character limit each for first, middle, and last name

@gunanagar
Copy link
Collaborator

Tested looks good. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BTR Business Transparency Register Register BO
Projects
None yet
Development

No branches or pull requests

5 participants