This post is no longer updated. Move to Contact Form 7 official site.
Download | Plugin Homepage | FAQ | Support Forum
- Where is the settings page for Contact Form 7?
- How can I add a contact form into my post content?
- How can I add a field to my contact form?
- Nothing shows up in the email, even after adding a tag to the form! How can I include a new field’s input in the email?
- I get emails containing codes such as [foobar]. What’s this? I want to see the user’s input.
- How can I specify a subject for the email?
- Can I place a contact form outside a post?
- Can I embed a contact form into my template file?
- After submitting the form, I get an error message stating “Failed to send your message”. What is wrong?
- I get an error message with a red border. So, how can I solve this?
- I see a response message “Your message was sent successfully” with green border, but I never receive a mail for that.
- The spinning arrow icon shows up once I submit a form, but then nothing happens.
- My contact form behaves oddly on certain browsers.
- I want to use contact form in my language, not in English. How can I do that?
- CAPTCHA does not work; the image does not show up.
- CAPTCHA’s text input box is working on Internet Explorer, but not with Firefox. I cannot enter the code.
- File upload & file attachment do not work.
Where is the settings page for Contact Form 7?
Log into WordPress and open Settings > Contact Form 7.
Update: It’s in Manage > Contact Form 7 since Contact Form 7 1.8.
Update: WordPress 2.7 moved the page to Tools > Contact Form 7.
How can I add a contact form into my post content?
Open the settings page for Contact Form 7, and then open the contact form you want to add.
Each contact form has its own tag, such as [contact-form 1 "My contact form"]. To insert the contact form into your post, copy the tag and paste it into the post content.

How can I add a field to my contact form?
To add a field, add a tag to the Form textarea.

Each tag has a strict syntax, supporting several options (see Contact Form 7 Tag Syntax).
Learning the syntax might be difficult, but you can easily make a custom tag by using the tag generator instead. Click Generate Tag and simply select the options you’re interested in.
Nothing shows up in the email, even after adding a tag to the form! How can I include a new field’s input in the email?
You need to add a new tag to the Mail fields. This tag should correspond to the tag in the Form you wish to include in the email. Thus, when you add a new form tag such as [text your-new-field], the corresponding email tag would be [your-new-field]. Only the second part of the tag (“your-new-field”, in this case) is needed for the email.

A tag in the Mail field will be replaced with the user’s input contained in a form field with the same name.
I get emails containing codes such as [foobar]. What’s this? I want to see the user’s input.
See above. In this case, no form tag corresponds to the [foobar] email tag. A tag in the Mail field which has no corresponding tag in the Form will be left without replacement.
How can I specify a subject for the email?
Simply edit the Subject field in the Mail section (not in the Form section).
Can I place a contact form outside a post?
Yes. You may place a contact form in a text widget as well.
Can I embed a contact form into my template file?
No, this functionality is not yet supported.
After submitting the form, I get an error message stating “Failed to send your message”. What is wrong?
There could be two causes for this. The first is actual mail server trouble, where email cannot be sent. In this case, the error message would be surrounded with a RED border line. Contact your server admin.
The second possible cause is that the form content is classified as spam by Akismet. In this case, the error message would be surrounded with a YELLOW border line.
I get an error message with a red border. So, how can I solve this?
There are really various reasons for server side problems, so I can’t explain exactly what yours is. But experiences of other users who solved their problem might be helpful for you.
Mario Vargas says he solved a mail-related problem with WP-Mail-SMTP plugin.
I see a response message “Your message was sent successfully” with green border, but I never receive a mail for that.
Showing the green border message means that the PHP function for sending the mail has certainly completed successfully. So if you can’t receive the mail, it’s highly possible that the mail has been kidnapped or killed after that.
If you can check the log of your mail server, it could give you some clues. Spam filter often causes this kind of problem.
The spinning arrow icon shows up once I submit a form, but then nothing happens.
This is most probably due to a conflict between plugins. Try deactivating all other plugins.
My contact form behaves oddly on certain browsers.
This may be caused due to invalid HTML, CSS, or Javascript. Please check your form page with a validator or debugging tool.
Useful tools:
Firebug — Firefox extension. Good for Javascript debugging.
XHTML-CSS Validator — A validator with a good UI.
I want to use contact form in my language, not in English. How can I do that?
Contact Form 7 has been translated into many languages. See if the languages folder contains a language file for your language.
The locale setting of Contact Form 7 follows the locale setting of WordPress. Once you change the WordPress locale to, Contact Form 7 is also changed. See how to change the WordPress locale here.
CAPTCHA does not work; the image does not show up.
To use CAPTCHA, you need GD and FreeType library installed on your server. Also, the contact-form-7/captcha/tmp folder must be writable.
Contact Form 7 1.8 and later require wp-contents/uploads/wpcf7_captcha folder writable, instead of contact-form-7/captcha/tmp.
Update (2009/03/23): Contact Form 1.9.4 and later refers your upload folder setting in Settings > Miscellaneous menu for resolving the base directory for CAPTCHA’s temporary folder. So it may not use wp-contents/uploads/wpcf7_captcha. For example, when your upload folder is set “wp-content/myfiles”, CAPTCHA temp files will be created in wp-content/myfiles/wpcf7_captcha, so you need to make that folder writable.
CAPTCHA’s text input box is working on Internet Explorer, but not with Firefox. I cannot enter the code.
This is a well-known issue caused by misusing the <label> element. Make sure you are using it correctly.
This is good:
[captchac your-captcha]
<label>Enter the code: [captchar your-captcha]</label>
This will not work correctly:
<label>[captchac your-captcha]
Enter the code: [captchar your-captcha]</label>
File upload & file attachment do not work.
See this post.
440 replies on “Contact Form 7 FAQ”
Hi,
Looks like a great plugin! I am trying to make it work with WPMU, but have problems with enabling CAPTCHA, which doesn’t display. I have installed the required library and also made the tmp folder writable. Isn’t there any issue with file paths to WPMU plugins folder, or something? Thanks!
sub001
I am testing the plugin with my new blog. Everything is great with template but I think there is an issue with wordpress 2.5.1 because the message is written as “sent” on the screen but there is no incoming email. I see that the user “bikek” in one of previous messages stated this problem also. Anyone has also problem with wordpress 2.5.1 version?
bikek Says:
July 25, 2008 at 8:49 am
I have installed your plugin on my blog, but I do not work, then do not send emails. I have installed WordPress 2.5.1 please help me
Murat
Hello! I tried to use the form but after trying a test message I received no mail even though it was indicated that the message was sent? Do I need to use the same email I have for wordpress? I’ve tried three different mails and nothing works. Any idea where my error is? Thank you!
sub001, Contact Form 7 1.8 and later refer wp-contents/uploads/wpcf7_captcha as CAPTCHA temporary image folder by default. Does the folder have writable permission?
Murat, the “sent” message means mail function completed successfully. There are cases that mail server is just delaying. You should check your mail log.
Another case is that other WordPress plugin conflicts. Are you using other plugins?
monocle, please read the above comment from me to Murat. It seems the same issue.
Hi, will this work in the local system? Thanks in advance!
Sheril, yes, it works in the local system. But it does not have responsibility of sending mails.
I am having a problem with the message box area on the form… see:
http://www.jonmichaelsen.net/?page_id=4
For some reason it is showing code in there… any idea why it’s doing that?
Thanks,
Christina
Hello,
The plugin is working great for us but we just tried to submit it with a .net email address and it didn’t work. Any ideas?
Thanks!
Oops. Here is the form:
http://www.parentingontrack.com/local-parenting-classes/
Christina Seay, I tested the form. The bottom line is that your HTML coding is not valid, so IE can’t show it correctly. Even so, Firefox seems working well, though.
My advise is check your site with HTML validator first. I recommend XHTML-CSS Validator.
Jared, Contact Form 7 does not differenciate .net email addresses. This must be a server-side or networking/routing issue, IMHO. Have you checked your mail logs?
Hello i get an error message on my blog
Unable to access /nfs/extra/p/po/pornblogger/wwwroot/Pblog/wp-content/uploads/wpcf7_captcha/ in /nfs/extra/prepend/prepend.php(159) : system created function on line 16
Ândrew, please make sure wp-content/uploads/wpcf7_captcha exists and is writable. What does the /nfs/extra/prepend/prepend.php do? I don’t know such file.
Hi Is there any way I can use this in the PHP form? Like inside
??
frank, no. You can use it only in post contents and sidebar widgets.
I am getting an error after a successfully sent message as follows:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /plugins/contact-form-7/wp-contact-form-7.php on line 971
The message sends to my email with no problem.
What could be the problem?
I forgot to add that this displays above the contact form and it displays the success message below with no style.
I also forgot to mention that I am using 2.62 WordPress and the latest version on your Contact Form. (1.7.6)
I just realized that isn’t the most up to date version, it’s 1.8.0.3.
I apologize for so many comments!
hi, is it possible to change the fields background color? I have the text color and fields background color in white, so you can´t see what you are writing??
def, of course you can. Edit your CSS stylesheet like this:
div.wpcf7 input { color: black; background-color: black; }thanks a lot, i was really sad because of this, now im very happy, good job, congratulations for the plug-in
Hi there,
what could i do, if “Copy and paste this code into your post content.” is read and empty ? What’s wrong ?
Thanks
well i have a few issues my captcha does not seem to showing up , secondly if i want to increase the size of input fields without increadint he size of submit button what to do , and i want to email to be delivered to to email id or more
Nice Plugin, thanks!
But one question: In wp-contact-form-7.php i need in function message($status) the varname for Mailsender. It is not $sender or $mail_sender. Can you help please?
Thanks!
Chriss
Torben, check out if Javascript is working well on your browser. Any errors?
blackproof, to the first question, please read the FAQ?
[…] my contact page I want to use a contact form so people can contact me easily. Contact Form 7 by Takayuki Miyoshi seems to do the job nicely. Once installed create your contact form and add it to the contact […]
Great! Thanks a lot!
Hi Miyoshi!
You contact is working just fine, but there’s something: maybe I am just to dumb to make it out, but is there a way to use this contact form for multiple recipients (selectable e.g. by drop down)?
Best regards!
Would be nice to be able to post these on a page instead of a post. For me, it’s not working. Am I missing something?
mariano, unfortunately, no. But I’m considering to implement that function in future version.
jasonsfa98, of course you can put contact form on a page, too. Not working? There must be something.
Hi
Thanks for a great plugin! Any easy way to move the success message above the form?
Appreciate any help!
Thanks
Very good contact plug-in, after testing a few contact plug-ins I found your is better than the other ones.
Thanks
ange, no easy way now but I’m thinking the way.
feature request:
Hi there,
I would like to see the option of “send to thank-you-page” after sending the massage.
This way, people who finished submitting their account can be tracked with web analytics services.
Thanks,
Tal.
Feature request:
like the user above, i would like to have an option to redirect users to a thank-you-page after submitting the form.
Thanks,
Nic
. plugin is good now doubt!!!!!!!how can i insert values in database..suppose i have 3 forms ?? how will i get the values and insert in my database???whats the use multiple forms then????? please reply quick..thanx.
toy, you can’t insert values into database so far. I don’t like complicated things. It might be supported in version 2.0 but I don’t know.
The contact form is not under settings!!
:S
Thankyou for this plug-in Miyoshi
Very easy to use.
Thanks a lot
hi
i inserted the form and generated tags as required. However te text typed into the body does not appear in the emails i receive…
Mat02, see FAQ first.
Hi
I have question how can I add “onfocus=”if(this.value…” function in input ?
Martin
Hello,
whatever I do, this plugin just generates invalid HTML. Even a VERY SIMPLE template like text* your-name, NO other fields or tags, creates an invalid nesting of a div and a p, like:
span class=”wpcf7-form-control-wrap your-name” /p
(tags omitted in case they don’t work).
Is that my fault?
Of course the default template, NOT modified by me, creates such HTML errors all over the place.
Latest WordPress, latest Plugin version, Theme Classic.
Kai
I’ve added the upload/attachment field correctly. However, i still get errors like this
“Failed to upload file.”
“Validation errors occurred. Please confirm the fields and submit it again.”
Please advice thx