[UXPROD-3644] Make the preferred contact field in Users conditional on the method of contact Created: 19/Apr/22  Updated: 30/Nov/23

Status: Open
Project: UX Product
Components: None
Affects versions: None
Fix versions: None

Type: New Feature Priority: TBD
Reporter: patty.wanninger Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: delegate_candidate, ui-only, usermanagement
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to MODBULKOPS-163 Remove hardcoded values for preferred... Open
Development Team: None
PO Rank: 0
Rank: Cornell (Full Sum 2021): R4

 Description   

Currently, a User record created through the UI is required to have an email address. In addition, the "preferred contact" field is also required. However, even if you select another type of contact (the choices are email, primary address and text), you are still required to provide an email. Some libraries have patrons that don't have an email address and they would like the field not to be required. However, if the preferred contact field is to be useful in the future for sending notices, it should be extended so that the requirement for data is conditional based on the contact method chosen.

User story statement(s):

As a library administrator
I want to be able to designate the contact type preference of the user
so that notification can be sent.

Scenarios:

  1. Scenario:
    • Given I am creating a user via the UI
    • When when I am filling out the "Contact information" accordion and
    • When I have chosen "email" as the contact preference
    • Then Email address will be a required field.
  2. Scenario:
    • Given I am creating a user in the UI
    • When I am filling out the "Contact information" accordion and
    • When I have chosen "Text message" as the contact preference
    • Then the mobile phone field will become required.
  3. Scenario:
    • Given I am creating a user in the UI
    • When I am filling out the "Contact information" accordion and
    • When I have chosen "Mail (Primary address) as the contact preference
    • Then an address is required that is marked "Primary."


 Comments   
Comment by Erin Nettifee [ 19/Apr/22 ]

The challenge here is how to handle notices that will still be generated for an email address even if one is not on the record - since this change would presumably happen prior to being able to generate print notices. You will want to talk to julie.bickle and the RA SIG about how the features can be appropriately sequenced.

Comment by Thomas Trutt [ 13/Dec/22 ]

Agreed with what Erin has said. Without having a print notices option this woudl cause issues. That said there is a use case here at Cornell for this feature; NY state and Library Card holders.

Generated at Fri Feb 09 00:33:40 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.