Closed (works as designed)
Project:
Webform
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 04:31 UTC
Updated:
3 May 2017 at 15:08 UTC
Jump to comment: Most recent
Comments
Comment #1
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 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 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 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 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