Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: insert 3rd party generated token into a hidden field #28959
    jusimedia
    Participant

    I actually got this to work a different way –

    Inserted the script into the form itself and renamed the var field = ‘quform_9_151’; to correspond with the hidden field.

    Thanks!!

    in reply to: insert 3rd party generated token into a hidden field #28938
    jusimedia
    Participant

    Hi Ally, this is working great – now I need to implement TrustedForm and am having some difficulty.

    Here is the script which I’ve installed in Quform -> settings -> custom JS that creates a hidden field with the Trusted Form certificate.

      (function() {
          var field = 'xxTrustedFormCertUrl';
          var provideReferrer = false;
          var invertFieldSensitivity = false;
          var tf = document.createElement('script');
          tf.type = 'text/javascript'; tf.async = true;
          tf.src = 'http' + ('https:' == document.location.protocol ? 's' : '') +
            '://api.trustedform.com/trustedform.js?provide_referrer=' + escape(provideReferrer) + '&field=' + escape(field) + '&l='+new Date().getTime()+Math.random() + '&invert_field_sensitivity=' + invertFieldSensitivity;
          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s); }
      )();
    

    When I view the source code, I see the hidden field and value being generated but its’ not being captured in the form entry.

    How can I get the circled data in the above image to show up in the form entry?

    • This reply was modified 6 years, 3 months ago by jusimedia.
Viewing 2 posts - 1 through 2 (of 2 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy