PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Get the Webform Source (Hidden Input)

  1. Hi!

    First, I'd like to thank you guys for creating such a great tool!

    I am trying to add an hidden input to get the URL of the current page. I tried to do the following:
    1. Create an hidden field
    2. In Advanced Tab, add $_SERVER['HTTP_REFERER']; to Default Value.

    This does not work, how can I get this to work?

    Thanks!

    Posted 13 years ago on Wednesday August 24, 2011 | Permalink
  2. How about using the merge tag {embed_url}? That gives the URL of the page the form is embedded in, the current page.

    Posted 13 years ago on Wednesday August 24, 2011 | Permalink
  3. I can't believe I missed that one... Thanks!

    Posted 13 years ago on Thursday August 25, 2011 | Permalink
  4. Great! Glad that will work for you.

    Posted 13 years ago on Thursday August 25, 2011 | Permalink

This topic has been resolved and has been closed to new replies.