- February 12, 2019 at 9:17 pm #28538
We are trying to implement a third party script that generates a unique token and inserts it into a hidden field.
Their installation instructions call for a hidden field and the script uses the field ID to place the token.
In quform, it does not appear that hidden fields are given a field ID (at least not that I was able to find in the page source)., so essentially the script is generating the token but doesn’t know where to store it.
How can I use a callback function (documentation here: https://leadid.zendesk.com/hc/en-us/articles/208137433-Callback-Function-Implementation) in order to store the token in the correct field?
Here’s the script that generates the token.
AllySupport StaffApril 2, 2019 at 5:40 pm #28938
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.
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?
April 5, 2019 at 5:37 am #28953
- This reply was modified 4 months, 3 weeks ago by jusimedia.
AllySupport StaffApril 5, 2019 at 5:19 pm #28959
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.
You must be logged in to reply to this topic.