I don't know of a programmatic way to get the title of the link that landed them on the form page. Since the page is always the same, but there are multiple links on the page, I can see why the referring page would not work for you.
How about making sure the form has a hidden field which can be populated dynamically, and give the hidden field a parameter name of 'from' and then send the query string with the same information as your title attribute?
<a href="http://dogswithoutborders.org/foster-a-dog/foster-application/?from=I want to foster2 pound little girl" rel="2 pound little girl" title="I want to foster2 pound little girl"><span>Foster me</span></a>
(I noticed no space after "I want to foster" and the name of the dog.)
If you are creating those links programmatically, you should be able to add that query string in the same way you add the 'rel' and the title attribute.
Posted 9 years ago on Monday January 7, 2013 | Permalink