modesty / modesty/pdf2json

skips invisible form fields

Open
#265 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

image

If a field is set to initially hidden (even though can be changed visibility with custom calculation script:

if (this.getField("needsWeight").value == "Yes") {
event.target.display = display.visible;
} else {
event.target.display = display.hidden;
}

These fields (hidden ones) will not be parsed, and you will not get any data on them (coordinates, names, etc.)

Was this intended and is there a way to enable hidden field parsing?

Contributor guide

No contributing guide indexed for this repository

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 reproducing the hidden-form-field case from the issue and trace the PDF form-field parsing path in the repository. Compare parsing for initially hidden and visible fields, then verify that the hidden fields expose the expected coordinates, names, and related data without breaking existing form parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.