Codeinwp / Codeinwp/otter-blocks
Add unique ID to the form block
Open
Nobody has claimed this yet.
customer report
new feature
- Dominant language
- JavaScript
- Stars
- 198
- Forks
- 36
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 30
Description
What problem does this address?
Suggested by this user https://secure.helpscout.net/conversation/2967244663/466317
He needs the form to have a unique ID, to set up some specific tracking.
For the moment, we have a unique ID, but that is added to the <div> element that is before the <form> tag.
What is your proposed solution?
Have a unique ID to the <form> tag
Will this feature require documentation? (Optional)
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the form block markup and compare the existing unique ID on the preceding div with the rendered form element. Update the form output so the form tag itself has a unique ID, then verify the generated markup and tracking use case.】【。
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100