Forums

Page class where the form is located sent by email

n1trokill 21 Oct, 2015
Hi!!
I have a catalog with many different products that often change (for this reason I can't/don't want to create a new form for each new product) and I need to know what kind of product the users is watching at when he fills the form. It would be nice if when a user fill a form, in the email template that is sent to me, it would be an identifier element of the page (for example the page class, the title of the product or something else I choose). Is there a way to do this?
Sorry for my bad english😟

Thank you in advance!
n1trokill 22 Oct, 2015
Thank you SOOOOOOOO much!!!!
n1trokill 22 Oct, 2015
Hi Bob, I read you FAQ but I can't make it work.

On the "Designer" Tab, I created a custom box, put yes to "Pure Code" option and pasted the php code (I tried with all codes in the FAQ without results).
Then, on "Setup" Tab, in the email template i wrote "TEST: {custom}". Saved and tested. On the emails I only see "TEST:".
Is it something else I have to do? Is "{custom}" the right dynamic field to write?

Thanks!
GreyHead 22 Oct, 2015
1 Likes
Hi n1trokill,

No, depending on which code you used it will be {page_url} or {page_title}. If you add a Debugger action to the form On Submit event you can see what values are there.

Bob
n1trokill 22 Oct, 2015
Thank you!!! It works🙂 You are awesome!
This topic is locked and no more replies can be posted.