Automattic / Automattic/jetpack
Forms: add country code dropdown select option to phone number field
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### What
I would like the form block to have the country code dropdown selector for the phone number field.
### Why
A user requested this.
Many users who fill in their phone numbers in the contact form do not add their country code.
For websites that are international, this would be an issue as the site owner is left guessing the country code.
### How
It could look something like this-

Contributor guide
Research direction
Locate the form block and its phone-number field entry point; the issue names no file or test, so first map where field options and validation are handled. Use the linked screenshot to define the selector's intended presentation, and confirm done means international users can choose a country code in the contact form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100