Page MenuHomePhabricator

Focus first field in form (not always first_name field)
Closed, ResolvedPublic

Description

Payments forms currently focus on the first_name field when the form is loaded

For Japan forms (example) we switched the order of first name and last name 姓(苗字) fields. However it is still the first_name field which is autofocused when the page loads. This means users will have to go backwards to fill out the last_name field.

We should focus on the first field in the form, instead of the first_name field specifically.

Event Timeline

Change #1212196 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[mediawiki/extensions/DonationInterface@master] Refactor focus on first field on payment form to ensure the focus is actually placed on the first field.

https://gerrit.wikimedia.org/r/1212196

Change #1212196 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Refactor focus on first field on payment form to ensure the focus is actually placed on the first field.

https://gerrit.wikimedia.org/r/1212196

XenoRyet set Final Story Points to 2.