1

In Drupal 7.15, I use the Webforms module to allow guests to sign up to courses. I therefore created a content type Registration Form.

Courses themselves are individual content nodes, of the type Course.

Now, I'd like the user to be able to select a course to sign up for, and save that in the web form as well. How can I do that?

It seems that the Webform Associate module does exactly that:

The Webform Associate module is designed to allow attaching webforms to particular node types. The example would be event registration. Event node types might need starting and ending dates, descriptions, etc. With Webform Associate a new webform node is automatically created, and the webform itself is appended to the bottom of the event node.

However it says that "Webform 3.0 Obsoletes this module and is not compatible in any way." Haven't found out how, though.

2

I was finally able to associate the event using the Node Registration module.

Allows (authenticated and/or anonymous) users to register for events. Events are nodes with certain node types. You can enable registration for any node type and add fields and manage display per type and per node.

The module depends on Value is and Entity as well as Views and CTools.


What you'll have to do after installation:

  • Go to admin/structure/types/manage/<course>/edit, where <course> is your course
  • Enable registrations at the bottom under Registration Settings
  • Go to admin/structure/node_registration/manage/<course>/fields and add fields to your registration form, as required.
  • Don't forget to enable the right permissions too for anonymous users.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.