I think I have it now. I described a different way of getting the existing page title in the form entry. You did not need that.
In the page which sends a visitor to your form (I assume there are multiple pages all pointing to the same form?) you must have a link to the page where the form is embedded, correct? If that is the case, then you can add query string parameters to that link. The parameter will be "pagetitle" and you will just add it to the URL of the page where your form is embedded.
So, if your existing URL was this:
<a href="http://example.com/place-an-order/" rel="nofollow">Place your order now</a>
You would modify it to look like this and send the page title to the page with your form embedded:
<a href="http://example.com/place-an-order/?pagetitle=Page Title of Page I was On" rel="nofollow">Place your order now</a>
That will capture "Page Title of Page I was On" in the field with the parameter name "pagetitle" which you checked so that it can "Allow field to be populated dynamically".
Ignore the rel="nofollow" stuff. That is added by the forum software
Posted 11 years ago on Saturday February 9, 2013 |
Permalink