Passing parameters on embedded forms

  • Profile Image
    Adrian Alvarez
    Asked on September 08, 2022 at 12:43 PM

    I want to use Jotform because you guys have a lot more options, but Typeform allows you to dynamically prepoulate embedded forms. Just search for: dynamically-pass-hidden-fields-from-a-url-to-an-embedded-typeform-for-advanced-users

    This is a re-post of a comment on Prepopulating Form Fields via URL Parameters

  • Profile Image
    Answered on September 08, 2022 at 01:48 PM

    Hi Adrian,

    Thanks for reaching out to Jotform Support.

    Can you explain a bit more what you're trying to do? If your form is embedded and using an iframe it can still take URL parameters from your website domain depending on how your web host calls in the iframe.

    You can see when I embedded my form in just a local file and called it, the parameters still filled in the iframe when calling the file then ?email=test.

    1662659226_631a2a9a5aa44_Another option you can use is to use the full source code of your form and you can use custom JavaScript to pull in variables and place them based on data you get elsewhere.

    Let us know if you have any other questions or if you have examples where you're having trouble getting it working so we can look into that.