How to Create a Form
Forms allow you to easily collect data from users and automatically generate documents without writing any code. You can create Forms from templates built within our editor or convert your existing PDF Forms into interactive Web Forms. This lets you efficiently gather information from customers, internal teams, or partners and automate document creation within your workflow.
In this tutorial, we’ll guide you through the process of creating a form using the PDF Generator API, covering three scenarios:
- Create a New Form with a Custom Template (with PDF Generation)
- Create a Form Based on an Existing PDF Form (with PDF Generation)
- Create a Form to Collect Data without Generating a PDF
Create a New Form with a Custom Template (with PDF Generation)
1. Create a template in PDF Generator API editor
- Open the PDF Generator API editor - Go to the Templates page and click New template.
- Design your template - Use the editor to create the layout of your document.
2. Create a form to collect data and generate the document
- Create the form - Navigate to the Forms page and click New form.
- Set up main settings - Give your form a name, select the template you created earlier, and add a title, introductory, and outro text.
- Define form actions - Choose what happens after the user submits the form.
- Add form fields - Create the individual fields for data collection (e.g., name, date, signature). After you've added the fields, save your form by clicking the Save button and then reopen it.
- Connect form fields to the template - To link your fields, click the arrow next to the Save button and select Save & Edit Template. This will open your template in the editor, along with the form fields you created. The template will open in the editor with your created form fields visible in the left sidebar. You can then drag and drop these fields anywhere in the template or insert them directly into predefined components using the Insert Data Field button. Once you're done, be sure to save your template.
- Save and share - Once everything is set up, click Save & Share to get a unique URL for your form.
For a detailed walkthrough of the entire process, watch our video.
Create a Form Based on an Existing PDF Form (with PDF Generation)
If you already have an editable PDF form, there's no need to start from scratch! You can easily import your existing file and automatically generate a digital form based on its structure.

- To automatically generate your pre-made editable PDF after a user submits the form, simply head over to the Forms page, click the arrow next to the New Form button, and select Import editable PDF. This will automatically extract editable fields into the form builder and import the PDF as a static template with matching editable components automatically added in their original positions.

- Once your editable PDF is imported, you’ll need to configure your form settings. Start by renaming your form, selecting the imported PDF template for document generation, and adjusting other relevant settings, as well as actions after the form is submitted.

- Since the editable fields were automatically extracted and added to the template, the final step before sharing your form is to review the template to ensure all fields were correctly extracted and positioned. Click the arrow next to Save and select Save & Edit Template to verify the fields are properly added, mapped, and placed.
- Once confirmed, you can click Save & Share to share your form.
Create a Form to Collect Data without Generating a PDF
Not every form needs to generate a PDF. You can also create a form used only for collecting data, which can then be sent directly to third-party services for further action or integration.
If you want to create a form only for data collection, select the No template option in the Template section of the form:

Once you select the No template option, check the box for Send data and document to third-party service, and define the Callback URL where the data should be sent. You can also add custom headers by specifying the Header Name and its corresponding Header Value. These headers will be included when PDF Generator API makes a POST request to the callback URL.

Response Example for Data Collection Only
{
"form_data": {
"name": "John Smith",
"date": "2025-08-07",
},
"form_public_id": "d830f695-538b-42f9-a753-8b662233cdb6"
}
Related articles you may find helpful
- How to share templates with other workspaces?
- Signature Field
- Which fonts, languages and characters are supported?
Updated on: 25/09/2025
Thank you!
