I want to create forms for specific nodes that allow a user to "ask" about that node (products, in my case). This module looks as though it would work perfectly except that I need to to somehow reference the node that a person was on when they submitted it. Can this be done?

Thanks!

Comments

JamieOurada’s picture

I'm working on a similar problem. Please post if you find an answer... I'll do the same.

Thanks!

psynaptic’s picture

Status: Active » Fixed

This is not a webformblock issue, it's a webform one.

You can achieve this by doing the following:

1. Add a hidden field to the form.
2. Set the default value to %get[q].

Only local images are allowed.

You will then get the internal "Drupal path" saved with all submissions:

Only local images are allowed.

JamieOurada’s picture

Yep I just found pretty much the sam answer at http://drupal.org/node/665960

Thanks!

Status: Fixed » Closed (fixed)

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

ambientdrup’s picture

Component: Miscellaneous » Code

The solution in #2 works but it shows the referring node as the Webform. I have the Webform embedded in another node via the Webform block module. How do you add a token to call in the node ID that the form is embedded in. So it should not show the node ID of the Webform but of the node the form is embedded in.

-Trevor