Skip to content

Web Forms JS Library

This client-side JavaScript library allows you to embed a simple web form on your own website. Share this page with your users and they can fill out the form to generate a PDF.

Released on Aug 18, 2026

  • Updated the conditional logic support for the new standards-compliant JSON schema output, where conditionally-shown fields are defined inside the schema’s if/then conditionals. Templates using conditional logic must use this version (or later) of the library.

Released on Jul 7, 2026

  • Added support for conditional logic: fields can be shown, hidden, or conditionally required based on the value or presence of other fields.

Released on Jan 31, 2025

  • Added support for template versioning. You can now specify a template version when showing the form.

Released on Jun 19, 2022

  • Added metadata option to DocSpring.createSimpleForm()

Released on May 12, 2020

  • Upgraded from Bootstrap 3 to Bootstrap 4

Released on May 1, 2020

  • Fixed bug where a value could not be selected in an optional select field

Released on Mar 20, 2020

  • Automatically set the CSS z-index to 999999 on the modal dialog

Released on Mar 12, 2020

  • Added onUploadProgress function to track image upload progress

Released on May 20, 2019

  • Renamed FormAPI to DocSpring

Released on Jan 20, 2019

  • Added error highlighting for form fields with validation errors

Released on Dec 14, 2018

  • Added formCSSUrl option to override the default CSS file
  • Changed default button styles