Closed (won't fix)
Project:
Webform Block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2010 at 19:25 UTC
Updated:
18 Mar 2011 at 08:52 UTC
Hi,
Is it possible to attach a webform to a node, as such that when I fill the webformblock,the title and node-url of parent node is allready filled in?
greetings, Martijn
Comments
Comment #1
buddaNo its not possible without some PHP coding, which I feel is a little niche case for the module to support.
Comment #2
that0n3guy commentedI think the php to do this would be:
The '81' above is the node id i think. The 'subject' part prints the title, so if you dont want title I think you just get rid of that print.
I just did a quick test and that seems to work.
Comment #3
duaelfr@budda
I think this is NOT a niche case facing the number of questions to link nodes and webforms. (Yeah, 1 year late I know ^^)
The main use case for this need is to allow website owners to make surveys about a certain node. I had to develop a webform to allow visitors to make estimate requests from products (my nodes) sheets.
Using URL arguments is an interresting workaround but it has some disavantages and it would be really nice to keep a real link to the node from which the request was done.