# ADding form fields detection inside pymupdf-layout

**URL:** <https://forum.mupdf.com/t/adding-form-fields-detection-inside-pymupdf-layout/285>\
**Category:** PyMuPDF\
**Created:** [February 6, 2026, 9:35am UTC](https://forum.mupdf.com/t/adding-form-fields-detection-inside-pymupdf-layout/285 "2026-02-06T09:35:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetarVukovic](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@PetarVukovic](https://forum.mupdf.com/u/PetarVukovic)\
**Post date:** [February 6, 2026, 9:35am UTC](https://forum.mupdf.com/t/adding-form-fields-detection-inside-pymupdf-layout/285/1 "2026-02-06T09:35:56Z")

</div>

It would be great to see this inside pymupdf4llm + pymupdf-layout

---

<div class="post-metadata">

**Author:** ![Jamie\_Lemon](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/jamie_lemon/32/5_2.png) [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Post date:** [February 6, 2026, 1:34pm UTC](https://forum.mupdf.com/t/adding-form-fields-detection-inside-pymupdf-layout/285/2 "2026-02-06T13:34:36Z")

</div>

Hi @PetarVukovic welcome to the forum! I think you can get this directly with PyMuPDF ( which pymupdf4llm is built on top of) with [Page.widgets()](https://pymupdf.readthedocs.io/en/latest/page.html#Page.widgets)  
Unless I am mis-understanding what you mean here of course!

---

<div class="post-metadata">

**Author:** ![PetarVukovic](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@PetarVukovic](https://forum.mupdf.com/u/PetarVukovic)\
**Post date:** [February 9, 2026, 6:49am UTC](https://forum.mupdf.com/t/adding-form-fields-detection-inside-pymupdf-layout/285/3 "2026-02-09T06:49:26Z")

</div>

Thank you!
