get current url as an initial value?

get current url as an initial value?

Hi!

I have used countless hour on one simple problem: Is it possible to get the current url as an initial value in a field of the form?

I was hoping to have a costumized link on several pages with this format "example.com/zoho-form.html?page=last-page.html" to the form-page, and then have the form automatically detect from which page the request came from.

My hope is that if you click on the link from "article-1.html", you'd get this in one of the fields in the form:

"example.com/zoho-form.html?page=article-1.html" or "article-1.html"

and if you click a link from "article-2.html", you'd get this

"example.com/zoho-form.html?page=article-2.html" or "article-2.html"

Is this at all possible? Anyone have tried this?

Thanks for your help!