Subtotal: $15,237.00
example; the user is on a product page "http://xyz.com/widget1" and then click the contact us link and is redirected to the contact page "http://xyz.com/contact" and completes the contact form. We would like to have a hidden field in this form which is populated with "http://xyz.com/widget1" and and submitted in the notification email.
Is this possible? if so how?
No. That's not currently possible and probably will not be in future as the "Referral URL" is either masked, removed, or not supported by some browsers. It's not reliable. I would recommend using Google Analytics for such tracking.