How to Integrate TrustedForm with Formidable Forms

By: Ethan Rocker | Asked: 06/11/2022
ForumsCategory: General questionsHow to Integrate TrustedForm with Formidable Forms
Ethan Rocker asked 2 years ago

Hello,

 
Does anyone here know how to integrate TrustedForm with Formidable Forms?

I have successfully added the script in the following location in Formidable Forms:  Customize HTML > After Fields.

However, we still need to figure out how to use Formidable Forms to pass the TrustedForm values out to our lead management system.

The most logical place to do it would be in 'Actions & Notifications > Send API Data'  however I am unsure about the proper configuration.  

A quick background on TrustedForm
TrustedForm is a tool marketers, sellers, and lead buyers use to document consent and comply with regulations such as TCPA, CASL, and others. When a consumer fills out a form, whether on the web, a mobile app, or even Facebook, TrustedForm captures that interaction, typically known as a Certificate or "Cert". At the beginning of the interaction the system creates a unique identifier, called a Cert ID, identifying that interaction.

The TrustedForm script adds two hidden fields in your web form and insert URLs into those fields. The fields are then captured by your server when the form is submitted and can be passed along to the lead buyers as proof that the lead was collected on your site.

https://developers.activeprospect.com/docs/trustedform/overview
https://developers.activeprospect.com/docs/trustedform/implementing-trustedform-s-script

Note - There is documentation on integration with Gravity Forms, but I am not sure if this same process can be utilized for Formidable. This process involves creating hidden field, determining the name of the hidden field, and then replacing the variable in the TrustedForm script with that hidden field name. 

https://community.activeprospect.com/posts/4383260-implementing-trustedform-on-wordpress-with-gravityforms

 

Here is a copy of the TrustedForm script...

<script type="text/javascript">

(function() {

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=xxTrustedFormCertUrl&ping_field=xxTrustedFormPingUrl&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>

 

Any guidance on this would be much appreciated!

 

Thank you, 

Ethan Rocker

1 Answers
Victor Font answered 2 years ago

The links to the activeprospect docs are broken. They both produce 404 errors. However, adding the script to Formidable should work similarly to GF. Have you added the hidden field to your Formidable Form?

Your script does not have any reference to a Formidable Form field. Specifically, I'm referring to this instruction: 'Find it and look at the script code. See the "var field = 'xxTrustedFormCertUrl';" variable? We’re going to change the value (what’s between the quotation marks) from whatever it is now to the value of our hidden field’s “name equals” parameter, “input_(whatever it was)”.'

Where's the name of your field in the script?

One more observation, the GF instructions say to add the script to a HTML field. In Formidable, we add scripts to the After Fields area on the form's Customize HTML page.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right