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: