at first thank you for great module.
i would like to create webform for a content type. so if a user create a node of this content type , webform automatically attach to node.
at now if i have 1000 node of one cotent type i have to attach weform manual
this is not good idea that user attach webform to node manual.


AtomicTangerine’s picture

Assigned: user1252762 » Unassigned

You assigned this issue to yourself on accident, I assume.
Also, a Webform is a content type already, I don't think it can "attach" to another content type. It's not a field. You might want to look into CCK or making a form using the Form API. Webform is great, but only for its specific purpose.

quicksketch’s picture

Category: feature » support
Priority: Major » Normal

You can webform-enable any content type you like under the Webform settings page. You could use Node References to reference an existing Webform node that you'd like to attach to your node.

Webform will not include what you've described as a feature.

Angerslave’s picture

Do you think http://drupal.org/project/webform_default_fields is applicable here?
I've used it for analogue task.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of activity.

mlncn’s picture

Title: create a webform for content type » Attach a Webform to a content type so that the same form is used for each piece of content of that type
Version: 6.x-3.11 » 7.x-3.x-dev
Category: support » feature
Status: Closed (fixed) » Active

This is the behavior i would have expected by default, to be attaching 'one' webform to a content type, and it is re-used on each node of that content type.

I understand why this does not make sense as default from the way Webform works, but it would still be a nice feature.

I guess the work-around for this is creating a standard webform content type, creating a webform node, and putting that webform node in a block that shows only on a given content type, and using http://drupal.org/node/1470748#comment-5781628 to get the context of the node. Unfortunately that makes all the coming work in [#1001789] unavailable when it would be most useful.

mlncn’s picture

Status: Active » Closed (works as designed)

There's a contrib module that works with webform to do something very similar in effect: http://drupal.org/project/webform_default_fields

cosolom’s picture

Issue summary: View changes

Try to look at this way https://www.drupal.org/node/919760 This patch allow use webform on any content type page and use theirs tokens