Data Requests JS Library
This JS library allows you to embed a signing form on your own website.
See: Data Requests (Electronic Signatures)
Note: This library is a short piece of code that inserts our signing iframe into the webpage and provides a JavaScript API for passing messages back and forth, so it does not need to be updated very often. View the release notes for our Visual Forms library to see the latest updates and bug fixes for our signing experience.
Latest Version:
Release Notes
2.3.4 (Jul 19, 2024)
- Improved support for mobile devices and tablets.
- Improved logic for injected CSS when adding iframe to page.
2.3.2 (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.
2.3.1 (Apr 6, 2021)
- Added a
footerHTML
option that allows you to configure content for a custom footer.
2.3.0 (Apr 25, 2020)
- For inline iframes: Changed default
iframe
style todisplay: block; min-height: 500px;
. (display: block
removes any space at the bottom of inline iframes.) - Added
iframeClass
andiframeStyle
options, so that you can configure theclass=""
andstyle=""
attributes on theiframe
element. (Available for both modal and inline iframes.)
2.2.4 (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.
2.2.1 (Apr 24, 2020)
- Improved logging and error reporting to investigate iframe loading issues
2.2.0 (Apr 2, 2020)
- Fixed bug where static form data could not be overridden after clearing a field
2.0.0 (May 20, 2019)
- Renamed FormAPI to DocSpring