Hi guys & gals.
I have created a dynamic page for holidays which works perfectly well with information collated from a few databases. I now have a contact form on the dynamic page with user input fields completed by the client.
So basically, the client can Submit his details (Name, Telephone etc.). I even have an email alert set up. The problem is I have no idea what he/she was looking at!!
How do I include the dynamically created content from the page he was on into the Submit Form?
Hey
If you use datasets on the dynamic page you can always get the items loaded in the different datasets by using getCurrentItem on the specific datasets and throw that value in the form so then you know. Otherwise you could take the full url of the page they look at at store that in the database so you can see "Came from" field will then contain maybe https://domain.com/categories/tshirts/bluedenimshirt/sizexl
Read more about getCurrentItem
https://www.wix.com/code/reference/wix-dataset.html#getCurrentItem