Is there any way of accessing the current / most recently viewed product on a custom contact form-type page?
For example, a user is on a product view page, then clicks a link which takes them to a page with a form. I'd like to pre-populate one field of the form with an attribute from the current product (the product page that led to this custom form page).