Enquiry form on or from a node..

Events happening in the community are now at Drupal community events on www.drupal.org.
wipeout_dude's picture

Hi,

I have just recently launched a D7 site for a company that sells used equipment.. A request that I have had to to have an enquiry form or link on the equipment page to that visitors can request more information.. The site has the core contact module enabled but they have said just getting the visitor to go there isn't good enough, they need to know which item the user is enquiring about..

Looking at available modules I couldn't find anything that looked like it would do what I was after..

If I could create a link to the main contact form with the subject pre-filled out that might work but I haven't been able to find any way to pre-fill fields on the contact from from a link.. Also I would need to create the link based on the page context which I am not sure about either..

The other option is embedding a form.. I am using display suite which may be able to do it..

Anyone have any ideas on a solution to this problem?

Thanks..

Comments

The "goto" drupal forms tool

joemoraca's picture

The "goto" drupal forms tool is http://drupal.org/project/webform

Joe Moraca
WebDevGeeks.com

Hi Joe, Thanks for the

wipeout_dude's picture

Hi Joe,

Thanks for the reply..

I looked at webform but couldn't see a way to add a link that would pre-populate the required information on the form based on the item that was being viewed when the link was clicked.. Do you know of a way?

My other potential solution that I have come up with since posting is to create an "enquiry form" content type and use a node reference to link to the item being viewed automatically using "node reference url widget".. Do you see any issues with doing it that way?

Thanks..

Prepopulate

ghazlewood's picture

I think you'd be able to do what you're looking for with the Prepopulate module

Try SignUp module

greta_drupal's picture

Well, if you don't find anything specific to your use case, why not try using the Sign Up module. You might be able to use the String Overrides module (or similar) to change the labels to more appropriate ones.

The advantages are, out of the box:
1. Signup link appears on the specific node (can enable option by content type).
2. Email automatically sent to staff with ref to that node.
3. Email automatically sent to customer with ref to that product.
4. Signup generates a list of signups for a node, available by permission. That way, the sales department could see a consolidated list of people who requested more info.

Love this module.