Closed (fixed)
Project:
Webform
Version:
7.x-3.8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2012 at 11:23 UTC
Updated:
9 Aug 2013 at 00:10 UTC
Hi there,
i have 2 webforms and they are newsletter subscription, one is in my footer and other one is on newsletter page. When a user inputs email in footer webform it is automaticlly redirected to a newsletter page that has more fields including email filed, and in that filed should be value user inserted in footer webform. Any sugesstions how to make that happen?
Comments
Comment #1
quicksketchHi there, sorry I never got to answer this request.
I'm not sure this is possible in the 3.x version because I don't think tokens are allowed in the Redirect URL. In 4.x, you would use some of the values from your first Webform as part of the "Redirect URL". i.e. set the Redirect URL to custom and use
node/2?email=[submission:values:email:nolabel]as the URL.Then in your second Webform (I'm assuming NID 2 here), set the default value of the email field to be
[current-page:query:email]. This will pull the value out of the URL and use it as the default value. There's more information about this approach in the working with default values handbook page.Due to the age of this issue, I'm closing it directly. Please reopen if you have further questions on this issue.