Iโm struggling now to pass an hidden value into a field with Typeform.
My actual value is loaded not on the loading of the page but after a loading of one external javascript and create a parameter to my url : example : ?custom=XXXXX
But when I create some script with PHP or Javascript to catch this parameter, itโs blank because the value is created after the page loading.
Is there any chance to pass this value into my form. If yes how could it be done ?
you will need to use out embed SDK to embed your typeform asynchronously when your hidden field value is available. You can use JavaScript code like this one:
Thanks @AurelienB ! In the URL, I donโt see an option for a hidden field. How is it being passed through the Javascript? Iโm not seeing that either (though I could be completely missing it).
you will need to use out embed SDK to embed your typeform asynchronously when your hidden field value is available. You can use JavaScript code like this one:
Iโm struggling now to pass an hidden value into a field with Typeform.
My actual value is loaded not on the loading of the page but after a loading of one external javascript and create a parameter to my url : example : ?custom=XXXXX
But when I create some script with PHP or Javascript to catch this parameter, itโs blank because the value is created after the page loading.
Is there any chance to pass this value into my form. If yes how could it be done ?
Thanks by advance for your help
Page 1 / 1
Hi @AurelienB Could you send the URL where you have the form/script so we can take a look at your set up? Thanks!
Thanks @AurelienB ! In the URL, I donโt see an option for a hidden field. How is it being passed through the Javascript? Iโm not seeing that either (though I could be completely missing it).
you will need to use out embed SDK to embed your typeform asynchronously when your hidden field value is available. You can use JavaScript code like this one: