I have created a proof-of-concept module to add a nodereference field to webform.

It works like this:
- Add a noderef field
- (optional) Choose a view on which to filter nodes
- The webform allows the user to select a node on the frontend
- The nid of the node is stored on the backend

If anyone is interested in this functionality, I would appreciate feedback on how you would use it.
I need it for a somewhat simple feature in which users fill out a form once for each of a particular node type they own.

Maintainers: please let me know if this would be better in contrib, and I will contrib it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AaronBauman’s picture

Title: Node Reference webform field » "Node Reference" webform field
FileSize
170.97 KB
68.38 KB

Maybe some screen shots will make the functionality clearer.

quicksketch’s picture

This is probably a duplicate of #308449: User and node reference fields (which also has a patch of sorts). If you could merge with that issue that'd be great.

AaronBauman’s picture

Status: Active » Closed (duplicate)

I knew I wasn't the first one to think of this.
I swear I searched for the issue first - thanks for finding it for me.