如何在drupal 7中显示提交的webform数据

时间:2013-12-12 11:31:15

标签: drupal-7 drupal-webform

我创建了webform并希望向用户显示提交的webform数据。我正在使用webform。我想显示标题,发件人姓名和正文。我使用了Webform Mysql Views模块但是我失败了。请帮助我

1 个答案:

答案 0 :(得分:2)

function module-name_webform_submission_insert($node, $submission) {
 // perform your task
 }

This function is called after you save any data in webform. this gives you the webform node id object and submission id. with this you can perform your all the task and show the data to the user.