diff --git a/docs/user/forms.md b/docs/user/forms.md index ff729d059..3cc29ee00 100644 --- a/docs/user/forms.md +++ b/docs/user/forms.md @@ -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