Submit PDF Form Data in HTML

Customize how data is submitted with FormVu

Submit PDF Form as Form Data, JSON, XML, or a PDF

FormVu provides the FormVuAPI JavaScript API to assist with submitting your filled PDF form data.

At present, this works in AcroForm files.

FormVuAPI.submitFormAsFormData('INSERT-URL-HERE');
FormVuAPI.submitFormAsJSON('INSERT-URL-HERE');
FormVuAPI.submitFormAsXML('INSERT-URL-HERE');
FormVuAPI.submitFormAsPDF('INSERT-URL-HERE');

Simplify Form Data Collection

Extracting data from PDF forms may be difficult since scripts in PDFs can be quite difficult to work with.

With FormVu, users can fill in HTML forms converted from PDF forms, then submit to a URL. Developers can directly get the data from the backend without having to come up with another solution.

How to Access the FormVuAPI JavaScript API

The FormVuAPI is provided in JavaScript, is available from the DOM window object, and can be accessed as you would expect for most JavaScript calls.

console (Development/Testing Only)

The easiest way to access the JavaScript for a converted file would be with your browsers JavaScript Console. (Any changes made will be lost on refresh of the page.) All you need to do is open “Developer Tools”, select the “Console” tab, type in the JavaScript, and press enter to execute it.

form.html

You can edit the form.html file directly. The simplest use-case would be to edit the onclick attribute of the Submit Form Button. Read more here.

script tags

Adding in a JavaScript script tag is also a method that would allow for you to access the FormVuAPI. Using the defer attribute is advised to ensure that the form has fully loaded before running your custom code. Read more here.

iframe

To access the content when the FormVu output is in an iframe, you can either select the element and access it via the contentWindow attribute, or access it via window.frames. Read more here.

Example PDF Forms Converted into HTML

All of these examples have been converted with FormVu and use the Form Data submission.

Click to try out the form submission feature!

AcroForm Example Conversions

Developer-Focused Solution

Simple Technical Documents

FormVu is run and marketed by a group of geeks instead of sales people. We like to keep everything super simple and straightforward.

Read FormVu document

Fast Support Responses

Our support channels are monitored by our developers, so that the communications are made easily. You can get in touch with us via Discord or online support service and receive response quickly.

Contact Us

Advanced Data Processing

Developers are expected to self-host the output file and you can customize how data is submitted (e.g. as HTML form, JSON, XML, or even as a PDF). FormVu also runs without making external calls, giving you full control of your data.

Learn More

Convert Fillable PDF Forms into HTML Forms

Convert from Web

Try FormVu from the web browser. Upload your document, wait for the conversion to finish and then download the output!
Try the Web Converter

Convert from Command Line

The most popular way to run FormVu! Download the software and convert files in bulk locally from the command line.
Download the CLI

Convert from Cloud API

FormVu provides a simple REST API to convert from any language including PHP, JavaScript, Ruby, Python and more.
Try the Cloud API