Referrer widget issue

  • PoppiesBlooming
    Asked on April 27, 2017 at 2:56 PM

    I'm using this in a form that is on every post on our site. The problem is that if someone hasn't opened the post, since it shows in category views, that the form sends that category instead of the post. Is there a way around this? To make it grab that post even if they are in category view, not post? It is Wordpress.

  • David JotForm Support
    Replied on April 27, 2017 at 5:10 PM

    It is possible to return the page the form is embedded to as well:

    https://widgets.jotform.com/widget/get_form_page_url

    This will return the current page rather than the referral page. 

  • PoppiesBlooming
    Replied on April 27, 2017 at 5:17 PM

    Will this work if the form is in donation can? I will try it though either way! lol

  • PoppiesBlooming
    Replied on April 27, 2017 at 5:21 PM

    Ok, so I just tried this. The form is embedded into an accordion right now, that is added to our donation system so it will appear on all pages that have the ability to take the donation. The page url it gives is the jot form standalone form page, not the page it was on. Any other suggestions? :/

  • David JotForm Support
    Replied on April 27, 2017 at 6:39 PM

    Unfortunately, the get form page url widget only works if the form is embedded to a webpage.  If the form is being loaded from a link in a window of its own, it will only return the form URL.  The referrer widget will only grab the last page visited.  I'm not sure if it would possible to return the specific page you are looking for each time.