I have a content type called "Job", that has fields for the job and an email field for the job contact. At the bottom of each job node there should be a button "apply now". If you click on the button, there should be a form with textfields, file upload (for the resumee) etc. If you send your application, an email should be sent to the job contact email (which is inside the job node).

What is the best way to achieve this? First I was thinking about using webforms, but I don't know how to get the job contact email form the node as the sendto webform email.

closed as too broad by Free Radical, Bala, Mołot, AjitS, mpdonadio Jul 8 '14 at 2:17

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


You can create two content types

  1. Job
  2. Job Application

In Job Application, where you have resume upload etc, add a entity reference field to Job content type.

Then when you list the Job and add a link Apply Now to create Job Application.

Use Entity Refernce Prepopulate module to prepopulate the entity reference in Job Applciation based on URL.

Here is good video tutorial expaining Enity Reference Prepopualte module.


That's one of the default webform behaviours. Create and save the webform. Then, within the node/%nid/edit page, go to Webform > Emails and fill in your email there. There's no need to have the email as a separate field on the node.

  • But the email is different for each node. The user should enter the email but the user should not need to enter his email within the webform (or ever have to create the webform manually). – scar Jul 1 '14 at 10:18
  • ok, in that case, use @wolverine's solution. – Ollie Jul 1 '14 at 10:25

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