We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

JAVA PDF- Handling Integrated JavaScript in interactive forms and Viewer-Components

since weeks am looking for a java-library to fill out interactive PDFs with the possibilty that the user can change the values in the java-pdf-viewer.

I have evaluated different free libraries but no solution fits my needs.

Situation: we get predefined interactive PDFs and have to fill them with program data. This point is no problem because we can read the PDF-Fields and set the values.

The problem is that some documents are generaded with build-in actions, e.g. after choosing a option field other fields are faded out. As suggested we can set the values but we cannot execute the build-in JavaScript functions.

Also we want to enable the user to change the field values in the PDF-Viewer. Does your PDF-Viewer provide such user interface capabilities.

Many thanks,



Aspose.Pdf.Kit for Java allows you to read or fill the PDF form fields programmatically. You can find the details in the topics on this link. However, the solution you’re looking for is currently not supported. Nevertheless, if you can share some sample file along with the detailed requirements, our team might try to provide such feature in our future versions.

Moreover, PdfViewer class of the Aspose.Pdf.Kit for Java allows you to decode the PDF pages to images which can be shown using some image control; however, I’m afraid, this doesn’t allow you to edit the fields.

We’re sorry for the inconvenience. If you have any further questions, please do let us know.