How can I pass a portion of URL to jotform as pre-populated field

  • RocketDoctor
    Asked on March 5, 2021 at 11:53 AM

    Hi,

    We would like to create a Location ID field in jotform that is prepopulated with a portion of the URL as a read only field.

    For example Webpage jotform is launched from is https://www.datanaya.com/webinars

    We would like to pass /webinars into Location ID field.

    Can this be done?

    Thanks,

    Steve

  • Ivaylo JotForm Support
    Replied on March 5, 2021 at 4:53 PM

    You can use the Get Referrer widget. It will allow you to find out where the people who visit and fill out your form come from.

    The widget does not need any configuration. You should just add it to your form and it will report all the URLs, which referred visitors to your form.

    Please give it a try and let us know if you need any further assistance.