Closed (duplicate)
Project:
Webform
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2007 at 18:13 UTC
Updated:
13 Jul 2007 at 00:59 UTC
When creating a new webform, if a field's key is changed from the default numeric value, the field would be absent from the generated email. The problem was due to the fact that the theme_webform_mail_fields was interchanging $form_key and $key.
Attached patch includes slightly re-written version of function to fix problem. Has been tested with hierarchical forms with upto two levels.
| Comment | File | Size | Author |
|---|---|---|---|
| webform_patch.txt | 3.85 KB | scafmac |
Comments
Comment #1
yched commentedduplicate of http://drupal.org/node/155743
It's probably best to keep this issue in one place, so I'm marking this as a duplicate.
Your patch is different than the one in the original issue, so you might want to post it over there, and let quicksketch review...
BTW, setting your own patch to 'ready to be committed' is no good practice (except maybe for absolutely trivial one-liners). You should set it to 'needs review' first.
Comment #2
yched commentedforgot to actually set the status
Comment #3
BarisW commentedThis patch doesn't either work correctly.
It only submits the values of the last page, if you use the BREAK element.
The results of the other pages are not mailed. They are saved however, I can see them on the website.