I need to create a "Download this whitepaper" functionality similar to this one.
So far this is what I've done:
- Created 'whitepaper' content type with file field
- Created 'whitepaper' webform (as a block). Contains fields for firstname, last name and email.
- Displaying the 'whitepaper' webform block on 'whitepaper' node types.
Here is where I need some guidance.
When I am viewing a node of type 'whitepaper' and want to download the attached file, I fill in the form fields on the block 'whitepaper' web form. When I hit submit, I want to be able to download the file attached to the content type.
How can I achieve this?
Will I be better off writing a custom module instead of a webform form?