From 4b9d740d29c049851bdeb7fede4dc9a216c50a4d Mon Sep 17 00:00:00 2001 From: abdullahalam123 Date: Sat, 15 Nov 2025 22:40:35 +0530 Subject: [PATCH] feat(form-filler): add note on XFA forms in PDF upload UI Enhanced the form-filler UI by adding a note regarding XFA forms, clarifying compatibility with specific PDF viewers. This update aims to improve user understanding and experience when handling XFA PDFs. --- src/js/ui.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/js/ui.ts b/src/js/ui.ts index 3b38a03..149d22f 100644 --- a/src/js/ui.ts +++ b/src/js/ui.ts @@ -1794,6 +1794,15 @@ export const toolTemplates = { 'form-filler': () => `

PDF Form Filler

Upload a PDF with form fields. Fill them directly in the viewer below, then click the button to save and download the filled form. Also supports XFA forms.

+ +
+

+ Note on XFA Forms: XFA (XML Forms Architecture) is a legacy format that's only supported by certain PDF viewers like BentoPDF and Firefox. + If you open an XFA PDF in other software and see blank pages or no form fields, it means that viewer doesn't support XFA. + To view and fill XFA forms properly, use Firefox or BentoPDF's Form Filler. +

+
+ ${createFileInputHTML()}