This module allows you to convert any WebForm component field to the URL Alias of where the webform was submitted from.
Sandbox Location: Webform Submitted From URL Alias
So, if you submit a WebForm from http://yoursite.com/foo/bar (which is really http://yoursite.com/node/42), you could convert a hidden field's value to "http://yoursite.com/foo/bar."
This conversion runs in the presave function, allowing the URL alias to be saved before anything is saved to the database, and before any email confirmations are sent.
The only method of doing something like this is to create a custom module. I realized this after a lot of research into the (now defunct) "Additional Processing" module that previously was recommended for use with WebForm.
Comments
Comment #1
ccardea commentedI just took an initial look at the project to get the ball rolling on this, and noticed the following issues:
Comment #2
lslinnet commentedlicense files are added automatically when the module package is created.
Comment #3
ccardea commentedOK then, that's not an issue. Thanks for telling me.
Comment #4
ccardea commentedComment #5
tim.plunkettClosing, feel free to re-open if this was a mistake.
Comment #6
avpaderno