t-houssian / fillpdf

A python library to make filling pdfs much easier
MIT License
134 stars 23 forks source link

'get_form_fields' not getting all form fields #23

Closed mansoorhaq closed 2 years ago

mansoorhaq commented 2 years ago

I have tried a basic function to check out the output by following these links... https://stackoverflow.com/a/66809578 https://fillpdf.readthedocs.io/en/latest/

My findings so far...

  1. 'get_form_fields' is not returning all form fields in the document.
  2. Duplicate form fields are completely missing.
  3. sort=True is not working either.
mansoorhaq commented 2 years ago

After further investigation... Maybe, it's better to update the documentation where one has to make sure the form fields are recognizable.

Even though, I was using the same form for months. I had to recognize the fields and save it again to 'get_form_fields' function working. I am closing this issue, which is not an issue in the first place.