Here’s what I need to do:
I want to pass custom values to the form I am building.
On form submit, I want the form to give the user access to a particular file (in my case, a static resource pdf).
So I assume I should pass a variable to the static resource through a url like so:
<a href="[[~112]]?dl=110">Download tech specs</a>
In the above, 112 is the resrouce id of the form and 110 is the resource id of the final download (the static resource).
I want to do a $_GET and get the value from the url.
How do I do this in a custom hook snippet with formit?