PDF.js feature to allow submitForm action

Job ID: 34803167

Budget: $30 – $250 USD

We are currently working on a project to allow interactive PDF or PDF that has fillable forms to enable the users to click on a button that triggers an action in the PDF that in turn gathers the form data on the PDF and send it to a destination URL.

Adobe has this feature but it only works if the PDF is downloaded first, fill up the form on the local downloaded PDF and click on the button with the submitForm action to a HTML on a destination URL using a POST method.

The builtin PDF.js that is used in Mozilla Firefox and presumably on Chrome can handle a fillable or interactive forms right from the browser without having the PDF downloaded. The PDF.js can also execute Javascript. However, it does not have the feature of submitForm to send data to a destination URL as HTML data.

Further research as stated on this link - https://github.com/mozilla/pdf.js/issues/13266 shows that there is a function for "submitForm". If there is a way to make this part of code be expanded or the necessary area that enables the sending of the data to a destination URL as HTML.

Theoretically this part works like "resetForm" function that clears the form data of the inputed/selected entries. But instead of clearing, the "submitForm" should gather the data then to the submit.

A module that can be added or included with the PDF.js package or an updated PDF.js package from

A sample of an interactive form that needs to send the form data to a destination URL is attached.
Related categories: JavaScript jQuery / Prototype