Hello Ulf, pdfbox does apply some fix ups automatically when doing .getAcroForm(). One is to check for widgets which doen't have a field entry as is the case in your form and create them.
You can look up the code in AcroFormDefaultFixup. The way it's currently done is that this only kicks in if there are no fields at all, which is not the case in your form. But you can create your own fix up and call .getAcroForm(PDDocumentFixup acroFormFixup) In this fix up you can reuse AcroFormOrphanWidgetsProcessor which creates field entries from widgets. I havn't tested that with your form but when we created this mechanism we had in min dthat this should enable users of the lib to create their own handling reusing some of the code we supply or creating from scratch. BR Maruan Am Donnerstag, dem 05.06.2025 um 10:45 +0200 schrieb Ulf Dittmer: > 3.0.5 > > On Thu, Jun 5, 2025 at 10:40 AM sahy...@fileaffairs.de < > sahy...@fileaffairs.de> wrote: > > > Hello Ulf, > > > > which pdfbox version are you using? > > > > BR > > Maruan > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org