Hi!

I have a content type where Webform should always be the same.

In order to make life easier for user I'd like to populate those webform fields automatically upon hook_node_insert(). I suppose?

But I am having trouble to find any documentation for this :)

Any help is appreciated :)

Thanks,

Comments

quicksketch’s picture

Issue summary: View changes
Status: Active » Fixed

In order to make life easier for user I'd like to populate those webform fields automatically upon hook_node_insert(). I suppose?

Custom coding questions are generally out of scope for the Webform issue queue. However some users have tackled this problem in the past. See these modules:

https://drupal.org/project/webform_template
http://drupal.org/project/webform_default_fields

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.