Can I add the code to the end my URL and not use the JotForm URL

  • j21frye
    Asked on May 30, 2018 at 6:44 PM

    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?

  • Jan
    Replied on May 30, 2018 at 9: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 Screenshot 10

    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 Screenshot 21

    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" onDISABLEDload="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.

  • j21frye
    Replied on May 31, 2018 at 7: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?
    ...
  • David JotForm Support Manager
    Replied on May 31, 2018 at 9: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.

  • j21frye
    Replied on May 31, 2018 at 9:43 AM
    Ok, thanks
    ...