Automattic / Automattic/jetpack
Forms: Ability to autocomplete email address of logged-in users
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### What
Add the ability to pre-fill input fields on the Jetpack Form block with the logged-in user information, like their email address.
### Why
The user on 6088200-zen have some forms that should be filled out by their site members. My understanding is they need to do that routinely, so having the option to pre-fill as many inputs as possible would be helpful.
### How
I see this is already implemented in the "Subscribe" block. Maybe we could replicate the same to the Form block.
Contributor guide
Research direction
Begin with the Jetpack Form block and compare the relevant user-prefill behavior in the Subscribe block. Trace how logged-in user information is handled and identify the surrounding tests; done means the Form block can pre-fill the email field for logged-in users while preserving the existing behavior for other users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100