?
Solved

Drupal Contact Form...

Posted on 2013-01-30
5
Medium Priority
?
664 Views
Last Modified: 2013-11-13
Hi All

I think I am missing something simple here... I would like to create a "Contact Us" page in Drupal, but instead of putting in our email address and getting spammed I want to put in a form to collect name and contact details of the person making the enquiry...

Ideally it will also have an anti-spam verification code, like re-captcha...

I thought I could do this with the core module but for the life of me I can not figure out how.  I have enabled it but don't know how to get the input fields...

Please help!!

Thanks
0
Comment
Question by:DrTribos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 13

Accepted Solution

by:
Aaron Feledy earned 800 total points
ID: 38834611
Using core modules, the contact module, once enabled, gives you a contact form at yoursite.com/contact. So try going there if you've enabled the module and you'll see the form. You also have a few configuration options at admin/structure/contact. If you'd like a more customizable form, check out the webform module.

If you'd like to add recaptcha to your form, you'll need the CAPTCHA and reCAPTCHA contrib modules installed on your site.
0
 
LVL 15

Author Comment

by:DrTribos
ID: 38834935
Thanks Arrow_1

Indeed you are correct... unwittingly and coincidentally I had added a URL alias called contact to another page which frustrated my attempts to get this form working.  

Right now I am unable to get this working with my domain redirection... i.e. I am hosting a .com.au site but mydomain.com; mydomain.net and mydomain.net.au all redirect to the .com.au ... except that is for the contact page....

I can probably work around this - although would like to see the redirects working, but am not sure how to make a content page appear with a menu called "contact us".  I think I will have to look at the other module you suggested.  Thanks for your help.  Will update later.
0
 
LVL 15

Author Comment

by:DrTribos
ID: 38835112
Hi ... so webform certainly made things easier... but when I complete the from with my test email account I do not recieve a confirmation email (to my test email address associated with submitting the form).  

I do get the email sent to the admin address (associated with processing the form)... I would also like the person submitting to have a copy... is there a setting that I'm missing?  It's late...

Anyway, I have confirmation emails from earlier testing (I think with the core module)...

Thanks
0
 
LVL 17

Assisted Solution

by:nanharbison
nanharbison earned 800 total points
ID: 38847369
You have to set the email setting to list who gets the email. You can add an element from the form in addition to sending it to you.
TO prevent spam, try the Mollum module, developed by Dries Buytaert's company Acquia. (He is the original developer of Drupal):
http://drupal.org/project/mollom
It's free for the first 100 submissions per day and unlimited spam. But for a site with over 100 submissions, it starts to cost money to use.
0
 
LVL 15

Author Closing Comment

by:DrTribos
ID: 38853831
Thank you both - adding a component (element) as an email address was staring me right in the face and I just could not see it.

Cheers,
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question