Introduction

TrustedForm provides digital certificates that prove who submitted your form, when they did it, and how - including their consent. Whether you need to comply with regulations, protect against disputes, or simply build trust with your users, TrustedForm ensures every submission is backed by tamper-proof evidence.

In this step-by-step guide, we'll walk you through setting up TrustedForm with Jotform so you can start capturing and automating the retention of your certified submissions.

Example of a TrustedForm Certificate issued for a completed form

Example of a TrustedForm Certificate issued for a completed form. Source: LeadCapture

Important: Where This Works (and Where It Doesn't)

Warning

This method only works when you embed your form on a webpage you control (like your own website). It won't work if you're using Jotform's default hosted form links (e.g., https://form.jotform.com/yourFormID).

Why? Jotform's hosted forms don't allow you to add custom scripts (like TrustedForm). But if you embed your form using the Source Code option (on your website, a landing page, or even a custom HTML block in your site builder), you're all set.

What You'll Need

Step 1: Add a Hidden Field to Your Form

First, you'll add a field to your form that will automatically capture the TrustedForm certificate URL.

  1. Open your form in Jotform's Form Builder
  2. Add a Short Text field to your form (find this in the left sidebar under "Basic" fields)
  3. Name it something clear like "TrustedForm Certificate"
  4. Right-click the field and select Hide Field - your visitors won't see this field, but it will still capture data in the background
Jotform form builder showing a short text field labeled TrustedForm Certificate with the Hide Field option

Adding a hidden Short Text field to capture the TrustedForm certificate URL

Step 2: Find Your Field Information

Jotform assigns each field a unique identifier that TrustedForm needs to reference. Here's an easy way to find it:

  1. Click on your TrustedForm Certificate field
  2. Click the gear icon to open the Settings tab
  3. Click the Advanced tab
  4. Scroll down and expand the Field Details section
Jotform field settings showing Advanced tab with Field Details expanded, displaying Unique Name and Field ID

Finding your field's Unique Name and Field ID in the Advanced settings

You'll see two pieces of information:

  • Unique Name - something like trustedformCertificate
  • Field ID - something like #input_16

Keep this window open - you'll need these in the next step.

Step 3: Generate Your TrustedForm Script

Now we'll create the TrustedForm script with your specific field information.

Use the Field Name Generator

Use this tool to automatically generate the correct field name for your TrustedForm script:

Field Name Generator

Paste your Jotform field info to generate the TrustedForm field name

Your TrustedForm field name:
Enter both values above

Your TrustedForm Script

Copy this script and replace the field value with your generated field name from above:

HTML
<!-- TrustedForm -->
<script type="text/javascript">
  (function() {
    var field = 'q16_trustedformCertificate'; // Replace with YOUR field name from above

    var tf = document.createElement('script');
    tf.type = 'text/javascript';
    tf.async = true;
    tf.src = ("https:" == document.location.protocol ? 'https' : 'http') +
      '://api.trustedform.com/trustedform.js?field=' + escape(field) +
      '&use_tagged_consent=true&l=' +
      new Date().getTime() + Math.random();
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(tf, s);
  })();
</script>
<noscript>
  <img src='https://api.trustedform.com/ns.gif' />
</noscript>
<!-- End TrustedForm -->
Note

About the use_tagged_consent=true parameter: This enables more accurate consent verification if you add consent tags to your form in the future. For more information, see TrustedForm's consent tagging documentation.

If your form spans multiple pages, you can use the identifier parameter to link a user's progress across pages. This creates a unified certificate that captures the entire multi-page journey.

Key Points:

  • Maximum 128 characters
  • Links consumer progress across multiple pages/forms
  • Appears in the certificate under "Publisher provided data"
  • Safe to include on single-page forms - it simply won't be used

Script with Identifier Parameter:

HTML
<!-- TrustedForm -->
<script type="text/javascript">
  (function() {
    var field = 'q14_certificateUrl14'; // Replace with YOUR field name
    var identifier = 'YOUR_SESSION_ID_HERE'; // Replace with your session/tracking ID

    var tf = document.createElement('script');
    tf.type = 'text/javascript';
    tf.async = true;
    tf.src = ("https:" == document.location.protocol ? 'https' : 'http') +
      '://api.trustedform.com/trustedform.js?field=' + escape(field) +
      '&identifier=' + escape(identifier) +
      '&use_tagged_consent=true&l=' +
      new Date().getTime() + Math.random();
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(tf, s);
  })();
</script>
<noscript>
  <img src='https://api.trustedform.com/ns.gif' />
</noscript>
<!-- End TrustedForm -->

What to Use as an Identifier:

  • A session cookie value
  • User ID if logged in
  • A UUID generated on page load
  • Your own tracking/session ID from analytics

Step 4: Get Your Jotform Embed Code

  1. In Jotform, click Publish at the top
  2. Select Embed
  3. Choose Source Code (last option on the list)
  4. Copy the entire code block
Jotform publish menu showing the Embed options with Source Code highlighted

Select the Source Code embed option to get the full form HTML

Step 5: Add Everything to Your Webpage

Now you'll place both the Jotform code and TrustedForm script on your webpage.

Option A: Standalone Page (Recommended)

If you're creating a dedicated landing page just for this form, this is the cleanest approach:

  1. Create a new HTML file or page on your website
  2. Paste your Jotform source code where you want the form to appear
  3. Paste your TrustedForm script directly below/after the form code
  4. Save and publish your page

Example structure:

HTML
<html>
<head>
  <title>Contact Form</title>
</head>
<body>

  <!-- Your Jotform code goes here -->

  <!-- Your TrustedForm script goes here -->

</body>
</html>
Tip

Using a website builder? Most website builders have an "HTML" or "Embed Code" block that lets you paste custom code. See the instructions for your specific platform below.

WordPress
  1. In the WordPress editor, add a Custom HTML block (or switch to "Code Editor" mode)
  2. Paste your Jotform source code
  3. Add another Custom HTML block below and paste the TrustedForm script
  4. Save and preview your page
Wix
  1. Click Add Elements (+) in the editor
  2. Select Embed Code > Embed HTML
  3. Paste both the Jotform code and TrustedForm script together
  4. Publish your site
Squarespace
  1. Edit your page and add a Code Block
  2. Paste your Jotform source code and TrustedForm script
  3. Make sure "Display Source" is unchecked
  4. Save and publish
Webflow
  1. Add an Embed element from the Add panel
  2. Paste your Jotform source code
  3. For the TrustedForm script, go to Project Settings > Custom Code > Footer Code and paste it there
  4. Publish your site

Option B: Existing Page with Other Content

If you need to add the form to a page that already has content, styling, and other code, follow these steps to prevent conflicts:

  1. Wrap your Jotform code in a container:
HTML
<div id="jotform-container" style="all: initial;">
  <!-- Your Jotform source code goes here -->
</div>
  1. Add your TrustedForm script immediately after this container (outside of it)
  2. Add this CSS to help prevent style conflicts:
HTML
<style>
  #jotform-container * {
    all: revert;
  }
</style>

Why this helps: The style="all: initial;" prevents your website's styling from affecting the form, while all: revert; ensures the form's internal elements still work properly. The TrustedForm script stays outside this container so it can properly track form activity across your page.

Note

Note: Yes, <style> tags can be placed in the <body> - this is valid HTML5 and widely supported by all modern browsers.

Your final page should look something like this:

HTML
<!-- Existing page content before the form -->

<style>
  #jotform-container * {
    all: revert;
  }
</style>

<div id="jotform-container" style="all: initial;">
  <!-- Your Jotform source code goes here -->
</div>

<!-- Your TrustedForm script goes here -->

<!-- Existing page content after the form -->

Step 6: Test Your Integration

  1. Visit your webpage where you embedded the form
  2. Fill out and submit a test entry
  3. Check your Jotform submissions - you should see the TrustedForm Certificate field populated with a long URL starting with https://cert.trustedform.com/
Jotform submission detail showing the TrustedForm Certificate field populated with a certificate URL

A successful integration shows the certificate URL in your submissions

If the field is empty, double-check that:

  • You used the correct field name in the TrustedForm script (Step 3)
  • Both the form code AND TrustedForm script are on the same page
  • Your TrustedForm script is placed after the form code
  • You're testing on your own website, not at jotform.com

What TrustedForm Captures

TrustedForm automatically captures a complete record of the form submission through session replay, including:

  • Page HTML snapshot at time of submission
  • IP address, browser information, and timestamp
  • User interactions (keystrokes, mouse movements)
  • Hashed versions of contact information for verification

This creates verifiable proof of consent without storing sensitive data in plain text.

Claiming and Retaining Certificates

By default, TrustedForm certificates expire after 72 hours if not claimed. To keep certificates for compliance purposes, you have three options:

Option A: Auto-Retain (Simplest)

TrustedForm can automatically retain certificates for forms on your verified domain:

  1. Log into your ActiveProspect account at account.activeprospect.com
  2. Navigate to Features to verify Auto-Retain is enabled for your TrustedForm account
ActiveProspect Features section for enabling TrustedForm Retain feature

Enable Retain feature for TrustedForm app

  1. Navigate to Domains and add the domain you hosted your form on (e.g., your-website.com)
  2. Verify ownership of your domain
ActiveProspect account settings showing the Domains configuration page

Add your form's domain in the ActiveProspect account settings

  1. Once verified, switch over to TrustedForm
Navigation to TrustedForm from ActiveProspect account

Navigate to TrustedForm from your ActiveProspect account

  1. On the "Certify" page, scroll down to Auto Retain Confirmed Domains section and enable your verified domain

Once enabled, every certificate generated on your verified domain will be automatically retained in your account. Each retained certificate incurs a small storage fee (normally cheaper than claiming the certificates using API).

Option B: Claim via API (For Advanced Users)

If you need more control or want to process certificates selectively, you can claim and retain them via the TrustedForm API. This is useful when:

  • You're selling leads to buyers who need the certificates
  • You want to verify lead data matches the certificate
  • You need to integrate with your CRM or lead management system

Make.com Template (Coming Soon): We're creating a Make.com template that automatically claims and retains certificates when someone submits your Jotform. This will handle the API calls for you.

For now: See TrustedForm's API documentation for details on claiming and retaining certificates programmatically.

Option C: Claim Certificates Manually

TrustedForm page showing unretained certificate with a dialog box for retaining the certificate

TrustedForm's unretained certificate

You can also claim certificates manually by visiting the certificate URL directly. Here's how:

  1. Copy the certificate URL from your Jotform submission (starts with https://cert.trustedform.com/)
  2. Open the URL in your browser while logged into your TrustedForm account
  3. Click the Retain button to keep the certificate permanently
Important

Important: Certificates expire after 72 hours if not claimed or retained. Make sure to process certificates promptly to avoid losing them.

Note: "Claiming" and "retaining" are functionally the same - both actions preserve the certificate beyond the 72-hour expiration window. The terminology differs slightly depending on whether you're using the API (claim) or the web interface (retain).

Troubleshooting Common Issues

The form looks broken or styled incorrectly

  • Make sure you're using the Source Code embed option, not the iframe option
  • Try the isolation code from Option B above
  • Consider placing the form on a standalone page with minimal other code

TrustedForm certificate isn't appearing in submissions

  • Verify you're testing on your own webpage, not the jotform.com preview
  • Check that both the form code AND TrustedForm script are on the same page
  • Confirm your field name in the script matches the format from Step 3
  • Look for JavaScript errors in your browser's developer console (press F12)

My website's features stopped working

  • The form code might be conflicting with your site's JavaScript
  • Try wrapping the form as shown in Option B, or move it to a dedicated page

Conclusion

That's it! Your Jotform submissions are now backed by TrustedForm certificates, giving you verifiable proof of consent for every lead.

With this integration in place, you can confidently demonstrate compliance, protect against disputes, and build trust with partners who require documented consent.