DISQUS

The Marketing Technology Blog: WordPress Contact Form with Spam Protection

  • Andy · 3 years ago
    I just wanted to say a HUGE thank you for this mod. I was using Dagon Design's contact form plugin because it offered anti-spam verification but not being very skilled in matters of CSS, couldn't make it look how I wanted. I had used Ryan's plugin before but had been bombarded with spammers emailing me using it. My anti-spam - Bad Behaviour and Spam Karma - caught most of it but it was still a pain.

    Yours is an elegant, neat enhancement and I reckon Ryan should adopt your mod and give you co-credit for taking the plugin further in such a useful way.

    So yeah. Thank you! The contact form looks just how I want it to now. x
  • Douglas Karr · 3 years ago
    Thanks, Andy! I was inspired by Seth Godin and the book Crypto. Seth pointed out a site (long ago) that had a 2 + 2 = 4 challenge question that never changed.

    When I read the book Crypto, one of the key pieces of it was how you could pass a piece of information between 2 people that solved a problem... without someone in the middle able to figure it out.

    The problem with most 'spamware' is that a computer calculates the challenge question. That's an inherent flaw, because it will be a computer that tries to break it.

    By making the challenge question a visible aspect of my page in English, I'm avoiding the computer question and solution. And... just to make sure, I allow the person to change the question and answer any time they want.

    I think it's a great model and I hope to put it on my comments next. I get a ton of spam on my comments but have not received a single piece of SPAM on my contact form.

    Appreciate your kind comments!
    Doug
  • Michael · 3 years ago
    Thank you! I'm downloading it now...
  • ian · 3 years ago
    great form!
    Simple to install and works with no confusing set up.
  • Joni Mueller · 3 years ago
    Doug, you are a gentleman and a scholar! We've just been bombarded in the last few days with Contact Form spam and a google of the WP support forum led me straight here. I've installed the new plugin and it works like a charm. I've also hit your PayPal button in appreciation for this lifesaving plugin/modification!

    This form may end up being the single driving force behind my FINALLY getting around to updating my personal blog at joniverse.com from WP 1.5.x to WP 2!
  • Douglas Karr · 3 years ago
    Thanks Joni!
  • Stahn · 3 years ago
    Simple solutions for big problems. Everything should be coded this way, not a damn 50 KB plugin with things you won't ever use or strange features (AJAX for a Contact Form? What?).

    Thanks.
  • Dave · 3 years ago
    Great plugin - very much needed!!!!

    thanks
  • fruityoaty · 3 years ago
    Great mod to a great plugin. Thanks.
  • ywamer · 3 years ago
    Hey. Thanks for the plugin. You rock!

    I have tried using Ryan Duff's original WP Contact Form, but always experienced errors with my blog (granted, probably a theme conflict). And the Phrixus WP Plugin never worked either.

    What did you do? Why does it work? Why?

    Anyways, thanks man! A donation is on it's way.
  • Douglas Karr · 3 years ago
    Thanks, ywamer!
  • Ian Luke Kane · 2 years ago
    Brilliant. Thank you Doug. It's truly appreciated.
  • May C · 2 years ago
    Hello! I've been trying to download the plugin but it re-directs to a page that says the page isn't found.
  • Douglas Karr · 2 years ago
    Sorry about that May C!

    The file is there now. You happened upon the site as I was moving around some domains. I also sent you a note via email that the file is there now.

    Doug
  • May C · 2 years ago
    Thanks for fixing it! I was looking for it all day, thinking that it may have something to do with my browser so I tried various browser with the same result.

    At one time I couldn't get it to work, but it seems to work now! That's great! At first, Bad Behavior blocked me from my site. I can't believe it! It seems quite aggressive so I've added my own ip address to the whitelist since I couldn't get a hold of the developer at all (all emails are bounced back).

    Hopefully I can lessen the amount of spam emails I get from the contact form. I will periodically change the challenge question to thwart those human spammers that read.

    Time will tell whether this is a good deterrant. I am keeping my fingers crossed. Thanks for the great plugin!
  • Douglas Karr · 2 years ago
    I've actually never had to change my challenge question... it seems that simply having one has been good enough! Good luck!
  • Linda · 2 years ago
    Thank you thank you thank you. We had to change servers, and suddenly everything I had used for contact forms previously was shot to h. Your form works beautifully, except I needed to change the stylesheet so that the name/text area lined up in IE (it was fine in Firefox). I simply changed the .contactright to float left. I also had to change the textarea sizes to fit my blog, but that was simple. Works like a dream!
  • Douglas Karr · 2 years ago
    You're very welcome, Linda! I, too, have modified the actual HTML of the form for a better layout (you can see it on my contact page on this site). I actually had so many issues with cross-browser compatibility that I gave up and made a table! I know that's supposed to be a no-no... but it looks much better.
  • Teun Verberne · 2 years ago
    I've tried to use your edited version of the contactform, but I can't make the layout work right. At least in IE, Firefox works perfectly of course. The fill in-blocks are floating around and I need them lined up. Can you give me a hint how to do it?

    http://www.ans-online.nl/anstiplijn
  • Douglas Karr · 2 years ago
    Teun,

    I've modified the plugin and added a table layout version. I ran into the same issues that you did and I gave up on trying to make it using CSS/HTML. Sometimes tables are the best approach.

    Doug
  • Linda · 2 years ago
    Hi Teun - the following styles are from Doug's "wp-contactform" within the wp-contact folder. I changed just two things, I think (I can't remember what they were!) and I added a style for the submit button. Doug - I had to change the px to ems, sorry!

    The styles are applied at the beginning of this same wp-contactform page, where you'll see a few lines that contain lengths for the textareas. This is where you can add the style to the submit button. (I hope all this makes sense). I haven't tested the following style changes across all browsers and all resolutions, but it seems fine in both Firefox and in IE. If you test it and find a quirk, please let me know:


    /* Begin Contact Form CSS */
    .contactform {
    position: static;
    overflow: hidden;
    }
    .contactleft {
    width: 25%;
    text-align: right;
    clear: both;
    float: left;
    display: inline;
    padding: .4em;
    margin: .5em 0;
    }
    .contactright {
    width: 70%;
    text-align: left;
    float: left;
    display: inline;
    padding: .4em;
    margin: .5em 0;
    }
    .contacterror {
    border: .1em solid #ff0000;
    }
    .contactsubmit {
    text-align:center;
    }
    /* End Contact Form CSS */
  • Douglas Karr · 2 years ago
    Thanks, Linda! No apology necessary, thank-you!!!
  • Paul (Exile from GROGGS) · 2 years ago
    Checked out here following your link at wordpress.org. It looks like I ended up with a similar approach to yours, to deter spam registration.
  • Antonio · 2 years ago
    Só um teste, sabe?
  • Michelle Dear · 2 years ago
    I have attempted to implement several contact forms, including Ryan's.

    When I use the contact form, I get overlapping text, the name, etc is higher than the box, and the user can't enter any data in the text box.

    Is there any way anyone could help? Here is what it looks like:

    http://www.michelledear.com/?page_id=48

    I did make sure to clean up anything that was listed per the "if you are using a previous version" information.

    Any help would be greatly appreciated.

    Thanks!

    Michelle Dear
  • Douglas Karr · 2 years ago
    Hi Michelle,

    I was irritated by CSS issues as well and gave up! You'll see a second link up there with a table-based layout. Maybe that will fix it?
  • Douglas Karr · 2 years ago
    PS: And your site looks great in Firefox ;). IE+CSS=Argh!
  • Michelle Dear · 2 years ago
    Yes!!! You are awesome. That worked! Thank you so much.

    Now you can contact me! :-)

    And thanks for the kudos. Feel free to browse. Let me know what you think.

    Michelle Dear
  • bigadicmania · 2 years ago
    Güzel bişi :D
  • Dr PennyStock · 2 years ago
    Hi Doug
    I've just instaled and activated your great plugin, created a Contact page, but, what need i to make for the contact form appear on my contact page, need i to insert some piece of code? and if yes, where? and or how?
    I've read the readme file searching by instructions, but, it's nothing useful there.
    Sorry but i am a newby, can you explain step by step, please.

    Thank you

    Dr PennyStock
  • Douglas Karr · 2 years ago
    Hello Dr.,

    No problem! Build yourself a new page and then add the following snippet where you would like the form to show up:

    <!--contact form-->

    Be sure to setup the options for the form!

    Doug
  • Dr PennyStock · 2 years ago
    Thank you very much, Sir, very fast response.

    Cheers
    Dr PennyStock
  • Douglas Karr · 2 years ago
    You're absolutely welcome! I've also added notes to the page so that if other folks need a hand, the instructions are there. I should have done that a long time ago, thanks!
  • SaadHamid · 2 years ago
    Very nice Plugin sir :)

    Thanx for making it
  • Douglas Karr · 2 years ago
    Ryan Duff deserves the credit for the original plugin... but I appreciate you taking the time to thank me for the modification! You're most welcome!
  • Gerald Hibbs · 2 years ago
    Howdy,

    I've tried tons of contact forms but none of them worked on Godaddy except this one!!! It totally rocks. Also, the challenge question entry on the form can handle images! Check out my website where I basically put in a captcha image in an attempt to look more professional. Truly great, thanks very much!
  • Joni · 2 years ago
    Gerald, that sounds great; I have a client looking to further secure his contact form. Would you mind sharing how you did the captcha on your page while also implementing Douglas's improved Contact plugin?
  • Gerald Hibbs · 2 years ago
    Howdy Joni,

    It was really easy. Create a small captcha-type picture with a few characters just to look legit. Feel free to copy mine and upload it. Then go into the wp-admin->options->contact form.

    In the "What is your challenge question?" text box here is what I put:

    Word verification: (img style="float:right;" src="http://www.yoursite.com/images/captcha.jpg" border="0" alt=""Word verification: Please enter these letters into the text box to the right of the picture." )

    replace ")" with ">" of course!

    Whatever the text in the image is put that into the "correct response" text box. Save by hitting "Update options" and you are done.

    If there is somehow ever a spam problem then you just change the picture and the correct response. I hope that works out for you and good luck with your client.
  • cee · 2 years ago
    Doug,
    I think Wordpress is re-writing your post a bit. The code to include the contact form is similar to an HTML comment, using two 'dashes'. The code on this site that I copied & pasted was an emdash instead! People copying and pasting will find that the emdash won't work...
  • Douglas Karr · 2 years ago
    You're right, cee! I tried a bunch of different ways to write it so it wouldn't get hacked up and nothing seems to be working! I'm going to edit it in the database I think!
  • Douglas Karr · 2 years ago
    Thanks cee! Always wondered what that code tag was for... ignorance is bliss! ;)
  • May C · 2 years ago
    Sorry to bother you guys again. The plugin is great and I have not had any spam going through unlike previously when I was using the PXSMail plugin.

    Regarding the lining up of fields for IE, I can see that someone has provided the code for the plugin but I'm not sure exactly where I should insert them in. Could anyone help? Or, what about the tables one? How different does it look like? Will the tables format eliminate the viewability problem entirely? Thanks for any input!
  • Douglas Karr · 2 years ago
    Hi May C,

    You can try either of them - it really depends on your theme on how they will look. You won't hurt anything by copying one file with the other. If you set yourself up a new page (example: Contact), you can write your page introduction and then follow it with the form code.... Example:

    Feel free to drop me a line through this form:
    <!-- contactform -->

    That's really all there is to it! That code will be replaced with the form when you view it.

    Doug
  • AJ · 2 years ago
    I recently upgraded 4 blogs to WP2.1, and now my contact forms are misbehaving.
    2 display ok. 1 doesn't display at all and one displays a repeating error about an empty haystack in formatting.php.

    The contact form quick tag is not being displayed in the edit screen on any of the blogs. (And the box is ticked on all of them).

    Any ideas anyone?
  • AJ · 2 years ago
    OK.
    I have determined the haystack error is an intermittant PHP problem, so no fault of the plug-in.
    The one that is not displaying at all has a similar setup to one that IS working, so maybe one of the files is corrupt. (Will completely wipe out and re-install).
    Still don't know why the quick tag is not displaying. (I think 2.1 might have an updated version of TinyMCE, could that be it?)
  • Pete · 2 years ago
    Awesome mod, thank you much!
  • Douglas Karr · 2 years ago
    Thanks, Pete! Hope you enjoy the rest of the site!
  • Matt · 2 years ago
    Hi,

    Small mistake in your post. Users want to put <!--contact form-->, not <!--contactform--> to generate the form.

    --Matt
  • Douglas Karr · 2 years ago
    Thanks Matt! I've modified the post to correct the issue.
  • Tudor Vlad · 2 years ago
    Thanks, excellent work!

    http://www.tudorvlad.ro
  • Robbert · 2 years ago
    Great work ! Now this plugin really rocks !

    Robbert from the Netherlands.
  • Douglas Karr · 2 years ago
    Thanks Robbert! And thanks for plugging it on your site!
  • Robbert · 2 years ago
    Hahaha actually i should be thanking you !
    This morning it was the first time that i didnt have to delete a mass over formspam out of my mailbox !!
  • bitbybit · 2 years ago
    Just a feature request to either change handling of or add an option for the challenge response to be case insensitive. If you use a logic question and the answer is "foo" and someone inputs "Foo", it fails :(

    Other than that minor quibble, great plugin :) Appreciate it!
  • Geoff · 2 years ago
    Very nice - I'd also like to see the option to rotate between a few questions at random.

    Showing a slightly randomized question will go even further to hinder spammers, I expect.

    And for bitbybit, just change the line in wp-contactform.php that reads if($input == $answer) {

    to if(strtolower($input) == strtolower($answer)) {
  • Douglas Karr · 2 years ago
    Thanks, Geoff. I think I'll build an option for case sensitivity in the app. I also like the idea of random questions/answers; but I've honestly never had contact form spam since simply applying this solution. We'll see how long that lasts!
  • Israel Cefrin · 2 years ago
    Mr. Karr
    Very thanks for this solution. I thought use a CAPTCHA image plugin, but this yours is very better for simplicity.

    I really apreciate it and I´m using on my website.

    best regards
  • Douglas Karr · 2 years ago
    Thanks, so much Israel! You're so welcome.
  • Israel Cefrin · 2 years ago
    Hello again!!
    I was reading the plugin presentation text on my wordpress plugin management. On there was wrote it is possible use it on comments post, is it right ?
    Do you have a example , how can I integrate the plugin on comments too ?

    I´m writing a post for a wordpress about portal here in Brazil and it would very usefull to many people be able to put the form on comments.

    regards
  • Douglas Karr · 2 years ago
    Hi Israel,

    I would like to apply this same technique to comments but I haven't built it yet... hopefully it will be soon, though!

    Thanks,
    Doug
  • Contrid · 2 years ago
    Thank you very much for this plugin.
    Strangely...I was struggling to find something worthwhile.
    This one seems to be working very well.
  • coen · 2 years ago
    Works great! And so simple...
  • Douglas Karr · 2 years ago
    Thanks, coen!
  • Robbert Hamburg · 2 years ago
    It really works great it reduced my formspam to zero.
    Now i also found a solution for the comment spamming (since akismet is far from perfect).

    I run the challenge option in wordpress now and that rocks ! Comment spam and trackback spam also gone. Blogging becomes fun again !

    Rob
    See; http://www.robberthamburg.nl/home/wordpress-plu... and
    http://www.robberthamburg.nl/home/akismet-in-co...
  • Douglas Karr · 2 years ago
    Robert,

    I tested this out and really like the solution! Unfortunately, it doesn't mix well with the Threaded Comments plugin that I'm running. I'm going to see if I can possibly put a solution together between the two. Thanks for this!

    Doug
  • Robbert Hamburg · 2 years ago
    I found that aswell. I'm trying to recode that somewhat, untill then i disabled the threaded comments.

    Let me know if you succeed before i do, will do the same :-)
  • kg · 2 years ago
    Hi Doug,

    when using your modified no spam comment form it works great although when it is activated my admin posts and page views do not work, only the code views.

    Suggestions.
  • Robbert Hamburg · 2 years ago
    I dont think that is related otherwise much more people would have the same issues and here it works great.
  • Seb · 2 years ago
    Thanks, exactly what I needed !
  • Pierfrancesco Marsiaj · 2 years ago
    Thanks for the plugin, pretty clean and effective.
    One suggestion though, since it's incompatible with the wpPHPMailer plugin, I'd change the mail() function with something like that:


    if ( function_exists('wp_mail') ) {
    wp_mail($recipient, $subject, $fullmsg, $headers);
    } else {
    mail($recipient, $subject, $fullmsg, $headers);
    }


    In architectures where the outgoing SMTP host is located on a different machine than the web server, you must provide a hook to an external SMTP delivery function, which is what the wpPHPMailer plugin does.

    pfm
  • Thomas · 2 years ago
    Thanks for the plugin, worked for me like a charm!
  • Marlo · 2 years ago
    This was exactly what I have been looking for!

    Thanks for making the mod.
  • Theo J. · 2 years ago
    Doug,

    This looks cool. I'll give it a try on my site.

    Thanks!
  • Joel · 2 years ago
    I just wanna say "Thanks" to Douglas and Ryan for this plug-in. I now have a contact form in my blog and it works well. Very easy to install. :)
  • Tudor Vlad · 2 years ago
    Tested it, works great!

    Thanks again!
  • Tim Gorman · 2 years ago
    If you go to my site, the challenge question doesn't show and if I answer it correctly it states:
    You answered the challenge question incorrectly.

    Any thoughts?

    thanks
    Tim Gorman
  • Kelly Cho · 2 years ago
    This is a great modification! Thank you!!!
  • Kelly Cho · 2 years ago
    BTW, is the challenge question case sensitive?
  • Douglas Karr · 2 years ago
    Yes it's case sensitive. I think I'm going to add the option for case sensitivity in the next release.
  • Dave · 2 years ago
    Thanks Doug. That was exactly what I was looking for.
  • Douglas Karr · 2 years ago
    You're most welcome, Dave!
  • Amything · 2 years ago
    Works like charm, thanks for that.
  • Douglas Karr · 2 years ago
    Thanks for taking the time, Amything. I'm glad it helped out!
  • soophie · 2 years ago
    very nice. just a few more line HTML and it will look great. thanks a lot
  • Douglas Karr · 2 years ago
    Just a note to anyone watching this topic. I have rewritten the plugin and added much more functionality. Version 2.0.0 of the WordPress Contact Form with Spam Protection is now available.!
  • paul · 2 years ago
    hi doug, how do you change the color of the fonts and text input?
  • Douglas Karr · 2 years ago
    Hi Paul,

    Like a bad programmer, those are currently hardcoded in there. Look for a future version with more options in a few weeks. I just wanted to get this one out the door quickly.

    You could change the fonts through CSS, but the background color is currently coded. You can edit the plugin and find them if you're familiar with PHP and HTML.

    Thanks!
    Doug
  • Mikki · 2 years ago
    Thank you for this, but after I activated it and went to Options to change the information (e-mail etc.) the "Update Options" button don't seem to work. I click, but nothing happen. No page refresh to indicate that the change is completed or anything. Do you happen to know what I can do to fix it?
  • Douglas Karr · 2 years ago
    Hi Mikki,

    Let me review the code. I'm not having that issue and there have been a ton of downloads. Can you let me know what Operating System and Browser you're using? That would allow me to try to duplicate the issue.

    Thanks!
    Doug
  • paul · 2 years ago
    Thank you for the addition to Ryan's plug in!
  • Craig · 2 years ago
    Looks like a great plug-in however I had the same problem as 'Mikki' above. Any ideas??
  • Douglas Karr · 2 years ago
    Craig,

    Can you let me know your Operating System and Browser? Thanks!

    Doug
  • Craig · 2 years ago
    Geez, that was quick!! I am using Internet Explorer however I don't know which version or how to check which version it is. Operating System is Windows XP.

    Thankyou very much.
    Craig
  • Douglas Karr · 2 years ago
    Hi Craig,

    Looks like I definitely have an issue with IE7. I'll get this fixed today and release a mini-version update. Thanks for bringing this to my attention!

    Doug
  • Craig · 2 years ago
    Thanks champ, people like you are life-savers for us technology challenged people!! Thanks for your quick reply too, really appreciate what ur doing.

    Craig
  • Mikki · 2 years ago
    Doug, thank you for your fast reply and quick fix!
  • Douglas Karr · 2 years ago
    I just corrected my bug where the options form was not properly submitting in Internet Explorer! The latest and greatest can be downloaded from the project page. Thanks for letting me know!

    Doug
  • Joni Mueller · 2 years ago
    Doug you are an asset to the WP community and a model for plugin developers all over. With few exceptions (and he knows who he is), few plugin developers do so much follow up and troubleshooting of their plugin as you. This is a great little program and I insist that all my clients who run WP install it; makes everyone's life easier (except the spammer's of course)!

    Joni
  • Douglas Karr · 2 years ago
    Joni,

    Thanks so much!!! I think you're on top of my list for nicest comments ever!

    Doug
  • shaun · 2 years ago
    Great plugin, however is it possible and easy enough to add an extra input field?

    I would like to add one more input field to the form for my purposes so if it's possible that would be great.
  • Douglas Karr · 2 years ago
    Hi Shaun,

    I'm actually working on a new version that will allow much more robust options, such as building additional fields. No estimate on launch yet, though!
  • Angela Betts · 2 years ago
    Excellent! Thank you VERY much! This is exactly what I need.
  • Douglas Karr · 2 years ago
    Angela,

    You're so welcome! Glad it's what you were looking for!
  • Rainer Feike · 2 years ago
    Thanks Douglas for this plugin. I already read above, that you don't mind if I change the colors.
    So I will do, I am not so happy with the yellow.

    But the rest is excellent! Thanks again!
  • nina · 2 years ago
    Thank you so much for this plugin! I've just installed it, and I was amazed at how easy it was to install and customize.
  • Douglas Karr · 2 years ago
    I added a new release tonight with an optional checkbox to copy yourself on the submission.
  • steve dowripple · 2 years ago
    Hey Doug. Great mod! A couple of questions if I may:

    - Are the answers case insensitive?
    - Any plans to allow for multiple question/answer to be created and randomly loaded each time the page loads?
    - How Can I create extra form fields if I want users to provide addition information (text entry, radio button, drop down menu, check box)? Any plans to support this type of functionality in the near future? Keep up the great work!
  • Douglas Karr · 2 years ago
    Hi steve,

    1. There's a checkbox to select case sensitivity on the question so you can have it either way.

    2. I hadn't thought about random questions... do you mean for the Spam challenge? Honestly, I've never had a spam contact form submission so I don't think it's necessary.

    3. Not there yet, but yes, I would definitely like to add that type of functionality.

    Thanks!
    Doug
  • steve dowripple · 2 years ago
    1. Good stuff...glad to see that!

    2. Yes, I am referring to the spam challenge. As it is now there is one static question/answer but it would great if the site admin could create a list of questions and answers that would be randomly selected when the page loads.
    There is such a plugin for Vbulletin (NoSpam - a capcha replacement) that does just that.

    3. I have seen several wordpress site around that have custom fields which is great when you want users to provide a set of response to particular questions. I've been trolling around but have yet to find a plugin that does this. I assume the ones I have see were custom jobbies. Hope to see it in a future release of your's! =)
  • Parm · 2 years ago
    Thanks for the great plugin!

    I have a quick query, is it possible to set the plugin to mail to multiple people? I want my contact form to send the message two two or more people when submitted, can that be done?
  • Douglas Karr · 2 years ago
    Absolutely, you can just put the emails in there separated by a comma. Example: name1@company.com, name2@company.com
  • Parm · 2 years ago
    Fabulous, thanks! :)
  • David · 2 years ago
    Thx for the updated plugin... simple and effective... well done.
  • steve dowripple · 2 years ago
    Hi Douglas,

    How difficult would it be to have the following:

    Plugin Default:

    Your Name: (required)
    Your Email: (required)
    Last word in my blog title? (required)
    Your Website:
    Subject
    Your Message: (required)


    Custom:

    Your Name: (required)
    Your Email: (required)
    Last word in my blog title: (required)
    Your Website:
    Subject:
    Product Name:
    text field:
    text field:
    option selectable form:
    option selectable form:
    text field:
    text field:
    text field:
    text field:
    Your Message: (required)

    All the addition custom field variables entered by the user would appear in the body of the mail as inputted.
  • Douglas Karr · 2 years ago
    Hi Steve,

    I'll be releasing a new release soon that will allow multiple, customer-defined fields. This is a little beyond the scope of the original plugin, though! It wasn't suppose to be a form-building application - just a contact form.

    :)
    Doug
  • cooliojones · 2 years ago
    Thanks for this great plugin! It was just what I needed for my site.
  • Parm · 2 years ago
    Hi Douglas, I already use this great plugin on one website of mine and I'd now like to use it on another!

    However, on this site I need the option for a user to submit the form to different people. For example, on the contact form there'd be a drop down menu of people the form could be sent to, e.g. Paul, John, Michael. The user could choose the name they wanted, then submit their message to that person.

    Would something like that be possible?

    Thanks,
    Parm
  • Douglas Karr · 2 years ago
    I still have a long list of improvements for this plugin to get through - including internationalization - but I did make some minor edits today and posted version 2.0.6.
  • Jeff KOpp · 2 years ago
    Yeah, I have to agree with Steve above... I can't seem to find any contact forms for Wordpress that allow for custom fields! I mean, at least one additional customizable field would be better than nothing. It would be fantastic if you could add this feature to your next update.

    Thanks for this great plugin.
  • Dave J. (Scoop0901) · 2 years ago
    @Jeff KOpp:
    You can check out Delicious Days. I've been using it as part of an internal beta test we are doing on a few sites. It's a very nice tool, allows for multiple custom fields, challenge fields, and the ability to create a variety of forms that you can add by a quick snippet of code added to any page or post. Part of that beta test is finding the proper plugins for the organization to use when the new site is launched. The contact form, obviously, is an area of great concern.

    One that I found months ago, which works nicely, is very easy to customize, and offers a lot of extra features, including the ability to create (and duplicate) forms, having multiple contact forms -- or variations of one, but used for specific things. Say you have a gig coming up on August 8 and you want a contact form just for that event. Well, use a custom contact form you already have, duplicate it using the built-in DUPLICATE function, give it a name, save it, then add the custom field(s) that you want, such as a tag for August 8 Event. Voila. You're done.

    Adding the forms is simple. Just like any other tag in WP, you specify which form you want to appear -- and where. You can make the contact forms appear on pages or posts using the simple --contact1-- or similar command. Everything is well-documented in the software.

    The plugin is called cforms II, and is put out for free by DeliciousDays.com, and is well maintained. Check out the info at http://www.deliciousdays.com/cforms-plugin.

    I have NO affiliation or connection to the DeliciousDays site, nor do I get money or anything else from them. It is simply a product I found -- after a lot of fretting -- that I use, and am adding to other blogs I maintain solely because it works well.
  • Vic · 2 years ago
    This is a great plugin. This type of is priceless for the new kid on the block.

    Thanks

    Vic
  • Raj · 2 years ago
    Great plugin but I am unable to use it in Yahoo hosting. Tried manipulating the codes as said in wordpress discussion form but of no use!
  • Imran · 2 years ago
    This is really great Doug! I've been getting spam through my contact form on my blog recently.

    Quick search on Google led me to this page. 10 minutes later I had the form updated. In the past 24 hours or so - no more spam (hopefully it'll stay that way!).

    Many thanks for a great plugin! I like the way you can change the challenge question to anything which a human would be able to answer but not a robot!

    Cheers

    Imran
  • Webmaster Blog · 2 years ago
    This is really great, I'm using it and it's working well. No spam e-mails in my contact mail! ;)
  • barry · 2 years ago
    hey,

    great idea, perfect for its intended use.

    Sadly I need more bells and whistles, i.e. an interface that allows me to customize input fields. So I'm going to cforms II.

    anyway thanks for doing this, I'm sure I'll use it for most of my other clients' blogs.
  • Douglas Karr · 2 years ago
    Updated to 2.0.7 today. This version uses wp_mail - a great change thanks to Callum Macdonald. For all of you folks who have been having troubles with mail working with your host - this should do the trick!
  • LifeDork · 2 years ago
    man, Thx a lot , i'll be using it right now :)
  • anthony · 2 years ago
    Douglas I can't seem to make your wp contact form work. I uploaded the plugin. Activated it. But when I go to options>contact form I get an HTTP 404 page. Do you know why I'm receiving this error.

    Thanks in advanced
  • gian · 2 years ago
    thk for inform.
  • Howard · 2 years ago
    Does your contact form work with WP 2.2?
  • Douglas Karr · 2 years ago
    Sure does, Howard!
  • Howard · 2 years ago
    It does. And it was easy to get to work.

    How can I change the wording of this text that appears above the contact form: "Highlighted fields are required"?

    Howard
  • jb · 2 years ago
    Thanks for the great plugin. I'm putting it to good use.
  • Can't Use This · 2 years ago
    I'm sorry to tell you:

    1) This page crashed my browser (froze for 15+sec)
    2) Can hardly scroll through this page cuz so much junk on it --- PLEASE SAVE ME!!!!!!! GIVE ME MY BROWSER CONTROL BACK!!!! PLEASE!!!!! ... oh well -> force quit!

    Came back to let ya know... nuthin personal dude!
  • Douglas Karr · 2 years ago
    Too funny. This is a monster page, lots of messages and trackbacks! I don't have any issues with Firefox on Leopard... what browser you runnin dude? ;)
  • Katyha · 2 years ago
    I've added the %%wpcontactform%% to my contactme page...but nothing shows up. What am I doing wrong? Instructions aren't clear about that. Hope you can help me out.
  • Cool Crazy Stuff · 2 years ago
    Hello there!
    I see all of You guys find a happy ending with this plugin!
    I have a problem!
    Fatal error: Cannot redeclare wpcf_is_malicious() (previously declared in /home/.beachwood/f4rrm800n/coolcrazystuff.com/wp-content/plugins/wp-contactform-akismet/wp-contactform.php:60) in /home/.beachwood/f4rrm800n/coolcrazystuff.com/wp-content/plugins/wp-contact-form/wp-contactform.php on line 32
    Any suggestions?
    Tnx in Advance!
    Cool Crazy Stuff
  • Shirah · 2 years ago
    Fantastic tweaks on the contact form. Was easy to install and worked perfectly :-)
  • property investor · 2 years ago
    Doug,
    this is the 3rd time i've been on your site today!
    i'm doing some updates to my blog and this site is just so useful..
  • Matthew Corgan · 2 years ago
    That is a great thing if they added spam protection to the contact form. That will save a lot of people much trouble. If it correctly prevents against spam it should save people a lot of hardship fighting spam.

    I just made my contact form more secure to protect myself for my blog

    With new plugin updates the problem should become less troublesome. Thanks for post.

    Matthew Corgan
  • Moms Cash Blog · 2 years ago
    Thank you for getting this fixed, much needed!
  • oscwood · 1 year ago
    very nice plugin. i'm trying to put a link on my 404 page to the contact form telling the form to already have the url of the page that could not be found in the textarea and the subject error 404 selected as an option but i just can't work out how to do it.
    is it somehow possible with something like Report this page?

    oscwood
  • Rafael Slonik · 1 year ago
    How do i put the form directly in my template? Need a call function.
  • Vijay · 1 year ago
    This is the plugin I was looking for! Thanks a ton!

    Best,
    Vijay Zanvar
  • Wayne · 1 year ago
    I have used this form and it works great. I have put this into the body of the paged edited under the manage pages. I have a static page which i would like to have the form display but for the life of me i cannot figuer out how. Any ideas?
  • Pewter Mug · 1 year ago
    @Wayne, If you just want to put the form on a static page all you have to do is right click on the blog page with the form, select "view source" and copy and paste the code into your static page.
  • seocontest2008 · 1 year ago
    Finally, after a long looking for this form script, i found it here... Thank you i will really really use it..
  • Shtekker · 1 year ago
    […] WP-Contact Form - Creates a contact form for members to reach you at. Use this to sell advertising, report issues, or just for general contact. […]
  • Shtekker · 1 year ago
    Woow!!! That worked! Thank you so much Douglas Karr.
  • arda · 1 year ago
    It's not working. I can't get mails... I set up my email address in settings but i cant get mails:(
  • arham | blogpreneur · 1 year ago
    do you have guidance ? It's not working
  • Joni Mueller · 1 year ago
    What is "not working" Arham? Can you be more specific? Did you install the plugin in your wp-content/plugins folder? Did you paste the proper code on your contact page?
  • Alejandro Seo | Webdesigner · 1 year ago
    Wow great plugin, i was looking for such a plugin, thank you very very much.
  • nicole · 1 year ago
    Hi Doug,
    thanks for making such an easy to use contact form. I only used wordpress for the very first time this week and i love it.

    I am having a formatting problem that i just cant get the the bottom of. Somehow the code is adding a which shouldnt be there after each input feild. Please see http://www.mariahbuzz.com.au/contact

    I cant work out how its getting there as your form does not look like this and I have not edited your code.

    Can you please help as my form looks messy at the moment.

    thanks very much

    nicole
  • Douglas Karr · 1 year ago
    Hi Nicole,

    The issue is actually a very bizarre filter in WordPress (outside of the plugin). The way around it is to actually embed the code in your theme rather than putting it in the content.

    Doug
  • Web 2.0 Usability Blog · 1 year ago
    Great, I've been searching for a decent, spam-free contact form.
  • Sloba · 1 year ago
    thanks Doug, great plugin. The challenge question rocks!
  • PH · 1 year ago
    Great plugin!

    I am having some difficulties getting it to work though. Everything seems to work fine but I am not receiving the notification that the email was sent, nor am I receiving the email. HOWEVER, if I refresh the page, I receive the notification and the email is sent.

    Any idea how to fix my problem?

    Just for kicks, I've activated a number of other contact forms to verify that they work on my site and they are working – but I like yours better! I am using WP 2.5.1
  • Hashim · 1 year ago
    Thanks a lot! I was using the older ver. and started getting spams just few days back and since then its increasing day by day, all of them are of poker and casino :(
  • KC · 1 year ago
    I also have a wordpress page but I can't seem to upload any plugins!

    When I read their FAQ, this is what I get:


    Where is my plugins tab?
    Unfortunately, there isn’t one to be found!

    For various reasons we do not permit the uploading and use of plugins here at wordpress.com.



    How do you guys do it?

    Thanks in advance
  • Internet Marketing Uncut · 1 year ago
    Can anyone give me any advice on the 1 click wordpress plugin? I've heard that will can install plugins with 1 click!
  • Gautam · 1 year ago
    No dice for me. I test tried it, but it it gave some weird errors. Even though i filled everything.
  • chewearn · 1 year ago
    Thanks for the great plugin!

    Just want to let you know, I worked around the known issue:
    "When utilizing the substitution string method to insert the form into the page content, WordPress filters add a linebreak between the label and form elements."

    by adding "inline" style to the page, e.g.


    label { position:relative; right:3em; }
    span.challenge { position:relative; left:-2.5em; }
    input.field { position:relative; top:-1.5em; left:9em; }
    textarea { position:relative; left:-3em; }
    input#copy { position:relative; top:-1.5em; left:8.5em; }
    input#contactsubmit { position:relative; top:-1.5em; left:-2.5em; }

    %%wpcontactform%%


    Note: not sure if the positioning values need to be adjusted depending on the theme used.
  • Nic B. · 1 year ago
    That you for this plug in, it was just what I was looking for
  • Musab · 1 year ago
    thanks alot! I am downloading this at the moment... :)
  • sangye · 1 year ago
    Dear Sir,
    How can I change the language of wordpress themes to my local language and create a web site where many people can create their own Wordpress blogs in their own Language?
    Please advice me
  • Amber · 1 year ago
    I would like to modify the form width so that it can be put in the sidebar but my programming skills are a bit low level. Would be willing to pay for the mod. Can you help me out please? Thanks.
  • Salman · 11 months ago
    Great! Thanks for sharing
  • ray · 9 months ago
    Fantastic contact form mod. Just installed it now and works perfect. Thanks a mil!!!

    1 question though.
    Is there a way to have the "send to" email addresses as bcc?
    so that if I specify more than 1 address each person receiving the email wont see the other addresses it was also sent to?

    Thanks.
  • yohan · 8 months ago
    thanks....im downloading it as we speck....hope it works well n no spam.....