Drupal 7 "Sample Request" feature using Flag, Views, Webform, and a few hooks

Today @welly in #drupal-support asked about how to have Druapl 7 "users to be able to flag a bunch of nodes and then submit their list of flagged nodes to an admin user some how."

I just happened to do that exact thing for a client project just a few weeks ago.

So here's my approach.

Using Flag (and Session API for anonymous flagging) with Views, Webform, and a few webform hooks, I was able to allow users to flag items for which they could request samples in a webform.

There are four components:

Syndicate content