Hi

I created a contact form using webforms. I want to add the same contact webform to multiple pages but I need to automatically track or identify which page the form submission came from.

I've used Views to display the webform as a block and then specify on which pages I want the block to appear. Now I just need to identify what pages the forms are coming from. Is there a simple solution for this seeming simple task? Perhaps just a bit of code I can add somewhere?

Thanks

Comments

nravens’s picture

issue solved... and it was actually quite simple.

First I added a "Hidden" component.
Then, I added "%server[REQUEST_URI]" as the default value for this field....

Hope this helps other newbies with similar issues...

nravens’s picture

Ok now that I know how to identify what page the webform submission is coming from, is there a way I can specify a different recipient email for each page's form submission?