Closed (fixed)
Project:
Webform
Version:
7.x-4.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2014 at 00:29 UTC
Updated:
19 Nov 2014 at 18:14 UTC
Jump to comment: Most recent
Comments
Comment #1
danchadwick commentedIn an e-mail? Use [submission:values:form_key]. See the token browser in the e-mail configuration form.
Comment #2
sterndata commentedI need to take data from the post and display it on the form before it's emailed. A view generates stuff with checkboxes inside a form. Clicking submit posts to a webform, where the user supplies additional info then submits the form. I guess I'll have to set up a test with 7.x.4 and see if this works.
Comment #3
danchadwick commentedIf needed, you can always generate the post tokens yourself. It might be worthwhile reviewing why they were removed. I'm sure there is a reason, but it predates my involvement with this module.
Comment #4
sterndata commentedsubmission values appear to be only the values typed directly into the form. I need to set the default values for fields in the form based on values in the $_POST array. Is there a way to do that or do I have to mod the module? How do I "generate the post tokens"?
Comment #5
sterndata commentedComment #6
danchadwick commented@stemdata -- I don't know enough about your application to help you further, but there is nothing to prevent you from making a custom module to generate the post tokens you seem to be missing. Your application is very unusual. Usually the post variable are not needed when using the Drupal form API. Programming support is beyond the scope of this issue queue. You might try the forum or IRC. Best of luck.