Closed (outdated)
Project:
Webform
Version:
7.x-4.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jan 2013 at 11:12 UTC
Updated:
23 Sep 2025 at 16:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dromansab commentedIs this issue solved in new version of the module?
I've a customer who is is strongly emphasizing on this theme ;-)
Thanks!
Comment #2
quicksketchThe first row contains the full title of the Webform node.
The second row contains the title of any combination elements that have multiple columns, including grid components and select lists.
The third row contains the the title of any simple elements like text fields, or in the case of multi-element fields like grid and select lists, the labels for individual options.
So I could see you wanting to remove the first line since it doesn't contain anything else other than the title, but the second line is quite useful if you start exporting complicated elements.
Unfortunately these first lines are not changeable. We added hooks to override the output of individual component's CSV data at #1533408: Allow modules to modify exported submissions, but that won't help with the node title being added to the first line. In the 8 years of Webform's history though, no one has found this to be particular problem. I'm not sure if we need to offer the flexibility to remove it, but if there's a suggestion that is easy enough to implement we would consider it.
Comment #3
quicksketchClosing after lack of activity.
Comment #4
jadsay commentedThis patch provide the ability to remove the submission info above the csv header. Applies on 7.x-4.x.
Comment #5
jadsay commentedComment #6
jadsay commentedPatch for 7.x-4.15
Comment #8
liam morlandThanks for the patch. Please check your coding standards. It would be great for this to have a test. Is there a reason it sets $header[0] and $header[1] then unsets them? Could it not just not set them?
Comment #9
chris matthews commented@jadsay, Is there a reason it sets $header[0] and $header[1] then unsets them? Could it not just not set them?
Comment #10
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.