Codeinwp / Codeinwp/otter-blocks

Add unique ID to the form block

Open
#2,605 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.