How can I obtain the URL where the form is submitted?

  • jgucciardo
    Asked on April 24, 2024 at 2:07 PM
    is there a way, if we embed the same form on different website, to include a hidden field which will indicate (in our notifications) which URL specific submissions came from?
  • Gaud JotForm Support
    Replied on April 24, 2024 at 2:21 PM

    Hi Jum Gucci,

    Thanks for patiently waiting. Yes, you can embed the same form on another website, which will include all of your hidden fields as well. Let me walk you through the steps below:

    • In Form Builder, in the orange navigation bar at the top of the page, click on Publish.
    • In the menu on the left side of the page, click on Embed.
    • Now, click on the embed option you want to use, and copy the code. For the demo, I've used the I-FrameThat's it
    • Embed your link on your webpage, and you're done.  How can I obtain the URL where the form is submitted? Image 1 Screenshot 20

    Let us know how it goes.

  • Jim Gucci
    Replied on April 24, 2024 at 2:27 PM

    I think you misunderstood my question. I already have a form embedded on multiple URLs (by simply copying and pasting the embed code). What I'd like, if possible, is to know which one of those URLs a visitor was on when he/she submitted their entries. Is that possible? Or, do I need to have unique forms for every URL (in order to identify them)?

  • Kenneth JotForm Support
    Replied on April 24, 2024 at 3:13 PM

    Hi Jim,

    Thanks for getting back to us. I’m sorry that this is happening. You have the option to incorporate the Get Form Page URL widget, which detects the webpage where the form is embedded and provides the page URL each time the form is submitted. Let me show you how:

    1. In Form Builder page, select Build located at the top orange menu bar.
    2. Choose Get Form Page URL under the Widgets tab and add into your form.
    3. Now, let's ensure it's hidden from your form fillers by clicking on Properties(Gear Icon).How can I obtain the URL where the form is submitted? Image 1 Screenshot 40
    4. Enable the Hidden Fields under the Advance tab.How can I obtain the URL where the form is submitted? Image 2 Screenshot 51

    Take a look at the screenshot below to see my results: How can I obtain the URL where the form is submitted? Image 3 Screenshot 62Give it a try and let us know how it goes.

 
Your Answer