I am looking to add a ‘request a quote’ button which when clicked opens up a modal with a form. The button will be on each individual CMS collection page but I want to know what page they have sent the form from.
For example, if they were on the package 1 page, I need to know that is the package they are requesting a quote for.
I assumed I could just add a hidden field and populate it with the name of each package as I do for the title of each page but it looks as though it isn’t as easy as that.
Does anyone have any recommendations on how I can achieve this?
I won’t post a public link or anything yet as I have not begun to build the form yet as I ran into this stumbling block.