Skip to content

Commit

Permalink
DOC: Note in reading form data (#2338)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored Dec 10, 2023
1 parent 6dad92a commit 0bc45c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/user/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ from pypdf import PdfReader
reader = PdfReader("form.pdf")
fields = reader.get_form_text_fields()
fields == {"key": "value", "key2": "value2"}

# You can also get all fields:
fields = reader.get_fields()
```

## Filling out forms
Expand Down

0 comments on commit 0bc45c6

Please sign in to comment.