I'd like to pre-populate a form using a URL, but I'd like it to be within my Weebly site, not a JotForm site. Is this possible?

  • Profile Image
    j21frye
    Asked on May 30, 2018 at 06:44 PM

    I would like to add the code to the end of the my URL, and not use the jotform URL.

  • Profile Image
    Jan
    Answered on May 30, 2018 at 09:31 PM

    Upon testing, I can verify that passing value via the URL will not work using your URL. Here's an example: https://www.homey-llc.com/?unitapt=1

    152772998705-31-gpxms.png

    However, if you do it in the direct form, it will work. Here's an example: https://www.jotform.us/form/81093876084162?unitapt=1

    152773002705-31-8etzj.png

    If you want, you can try to re-embed the form using the iFrame method and then insert the parameters in the Source URL of the iFrame. Here's a guide: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code.

    Here's an example:

    <iframe id="JotFormIFrame-81498195871977" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/1234567891011?unitapt=1" frameborder="0" style="width: 1px; min-width: 100%; height:539px; border:none;" scrolling="no"></iframe>
    <script type="text/javascript"> ... </script>

    Related guide: Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

    Hope that helps. Thank you.

  • Profile Image
    j21frye
    Answered on May 31, 2018 at 07:43 AM
    Thanks for this. Appreciate it. Do you know if I can pass the url value how
    you first described using s Wordpress site?
    ...
  • Profile Image
    BDAVID
    Answered on May 31, 2018 at 09:11 AM

    Passing the parameter via your WordPress site URL will not work. However, you can embed it with a fixed parameters like in the Iframe code my colleague provided, it should work the same in WordPress.

  • Profile Image
    j21frye
    Answered on May 31, 2018 at 09:43 AM
    Ok, thanks
    ...