Menu
On a certain page I click on a button, which then sets a cookie for the url of that particular page.
Then I click on a second button to go to the next page where there is a form where the previous cookie already is printed out.
This form with the url from the cookie is later emailed.
All this works fine.
My question is can I combine the two clicks into one, so that the cookie is set on that page and the form on the next page is opened with the cookie printed out.