Data Requests JS Library
This client-side JavaScript library allows you to embed a signing form on your own website to collect legally binding electronic signatures and generate signed PDFs.
Embedded Data Requests Guide Learn how to embed an e-signature workflow on your website
Changelog
Section titled “Changelog”2.3.6 Latest
Section titled “2.3.6 ”Released on Jun 25, 2026
- Added
region,host,appHost, andapiHostoptions for configuring US, EU, AU, and enterprise deployments. - Fixed preconfigured
DocSpring.appHost,DocSpring.host,DocSpring.scheme, andDocSpring.portvalues being overwritten when the library loads.
Released on Jun 11, 2026
- Fixed the signature modal drifting off-screen when pinch-zooming on mobile devices. The parent page now notifies the embedded signing form whenever its visual viewport changes (e.g. pinch-to-zoom or pan), so the signature modal can reposition itself and stay in view.
Released on Jul 19, 2024
- Improved support for mobile devices and tablets.
- Improved logic for injected CSS when adding iframe to page.
Released on Aug 2, 2023
- Added
DocSpring.setField(name_or_id, value)function to set the value of a field. - Fixed
DocSpring.focusField(name_or_id)function. You can now focus a field by name or numeric ID.
Released on Apr 6, 2021
- Added a
footerHTMLoption that allows you to configure content for a custom footer.
Released on Apr 25, 2020
- For inline iframes: Changed default
iframestyle todisplay: block; min-height: 500px;. (display: blockremoves any space at the bottom of inline iframes.) - Added
iframeClassandiframeStyleoptions, so that you can configure theclass=""andstyle=""attributes on theiframeelement. (Available for both modal and inline iframes.)
Released on Apr 25, 2020
- Fixed crash for any browsers configured to block all cookies. Before this fix, the loading spinner would sometimes get stuck and the signing iframe would fail to load.
Released on Apr 24, 2020
- Improved logging and error reporting to investigate iframe loading issues
Released on Apr 2, 2020
- Fixed bug where static form data could not be overridden after clearing a field
Released on May 20, 2019
- Renamed FormAPI to DocSpring
Why haven’t we updated this library recently?
Section titled “Why haven’t we updated this library recently?”The Data Requests library is a short piece of code that inserts our secure signing iframe into a webpage and provides a JavaScript API to interact with the iframe, so it doesn’t need to be updated very often. The signing experience inside the iframe uses our Visual Forms library.
View the Visual Forms Changelog View the latest updates and bug fixes for our signing experience