benetech / MathShare

MIT License
9 stars 3 forks source link

Input: Location (Demographics > Second Page)  #1521

Open alexrcabral opened 3 years ago

alexrcabral commented 3 years ago

This task defines the location input on the second demographics page.

Full Mockup

Screenshot of second page of demographics, asking: Grade, Year of Birth, Gender, and Location.

The above mockup shows the inputs in context of the second page of the demographic info (/userDetails). 

Location

The fourth and final input heading on the second demographics page should read "Where are you from?", followed by two text boxes. The placeholder text in each box should read "County" and "Zip Code". A screen reader should also read this out on focus. 

As shown above, the placeholder text should be in a lighter gray font and non-interactible, as is standard. When a user clicks this box, the placeholder text should disappear and allow the user to type their input. 

Edit: There should also be a smaller asterisked statement underneath the heading saying: "*Only fill out if in the U.S."

Acceptance criteria: 

Given that I'm a user who is filling out information associated with my account, I should encounter the location input on the second page of sign up. When I click either text box, I should be able to type in my information.

johnhbenetech commented 3 years ago

@alexrcabral I assume these fields arent required?

Have we considered users from other countries?

alexrcabral commented 3 years ago

Correct, these fields aren't required.

We already collect the country-level information on Google Analytics to the level we need right now, and the specific information for County and Zip Code is only needed for US-based funders. I'll add an asterisk statement to the mockup & scoping: "*Only fill out if in the U.S."

johnhbenetech commented 3 years ago

@rupeshparab see new text added to mockup

abaranowska1 commented 3 years ago

Tested The second page display 5 fields from which the first three are required. image @rupeshparab One issue, After I click next and then back button the last two fields are empty, data are not saved. Peek 2020-11-20 13-06

rupeshparab commented 3 years ago

Pushed a fix for the data issue

abaranowska1 commented 3 years ago

Confirmed that the data issue was fixed. Peek 2020-11-23 09-02