Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I find the current webform submission table completely inadequate when forms are submitted by anonymous users - you can't tell one from another other than by its submission date which not helpful in many instances. I would like to create a new webform submission table that can display specific fields from the submission itself to help identify who the submission is from. Ideally if I could accomplish this with views that would be great, but I am not adverse to creating a module if need be. Has anyone done this before and what would be the best approach?

Thanks.

share|improve this question
add comment

2 Answers 2

Unfortunately, the current stable release of the Webform module doesn't support getting to any of the webform submission fields through Views.

However, if you look at this issue on Drupal.org: http://drupal.org/node/680386, you'll see that integration with views is a highly desired feature! That's why there's so much activity on it! The good news is that (look at this comment: http://drupal.org/node/680386#comment-6480250) there's actually a patch applied to version 7.x-4.0-alpha6 of the Webform module, so you can test this new integration functionality.

Let us know if it works well!

share|improve this answer
    
That sounds very encouraging and I look forward to Weform 4's release but in the meantime with Webform 3, is it possible to use Webform Tokens to accomplish the same thing? –  user5013 Feb 25 '13 at 23:26
add comment

Webform 4.X is the way to go if you want to use views.

If you are only trying to change the column headers/info (or don't want to upgrade to 4) you can use the provided hooks: theme_webform_results_table_header & theme_webform_results_table.

Webform includes 'webform.api.php' in the module that doesn't include working code, but rather documents all of the hook usage in webform.

share|improve this answer
    
I am trying update the contents of the table itself, not the column headers. Is it possible to use webform tokens as a possible work around with Webform 3? –  user5013 Feb 25 '13 at 23:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.