Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi.
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
and
this is not good idea that user attach webform to node manual.
Comments
Comment #1
AtomicTangerine CreditAttribution: AtomicTangerine commentedYou 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.
Comment #2
quicksketchYou 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.
Comment #3
Angerslave CreditAttribution: Angerslave commentedDo you think http://drupal.org/project/webform_default_fields is applicable here?
I've used it for analogue task.
Comment #4
quicksketchClosing after lack of activity.
Comment #5
mlncn CreditAttribution: mlncn commentedThis 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.
Comment #6
mlncn CreditAttribution: mlncn commentedThere's a contrib module that works with webform to do something very similar in effect: http://drupal.org/project/webform_default_fields
Comment #7
cosolom CreditAttribution: cosolom commentedTry 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