Tips

Redirecting to Another URL After Submissions

First of all, I believe that this tip I’m writing on this post is not necessary for 99.99% of users and, actually, I don’t recommend using it. I’m writing this for the 0.01% of you, so you can ignore it if not necessary.
As you know, Contact Form 7 redirects to the same URL as the [...]

Controlling Behavior by Setting Constants

Contact Form 7 allows you to control its behavior by setting some constant values.
The typical place to define constants is in the wp-config.php file. You will find that many lines defining constants such as, define(‘XXX’, ‘xxx’); exist in the file. You can append new lines after them. Note that your lines must be placed before [...]

Special Mail Tags

There are times when you may wish to follow more than just the user’s input through the contact form. For example, you may wish to know the client’s IP address for security reasons. Contact Form 7 provides some special mail tags for such purposes. You can insert these special mail tags into the Message Body [...]

Contact Form in Your Language

Although Contact Form 7 displays contact forms in U.S. English in its default settings, it bundles 40+ language translations and by using them, you can easily create a contact form in any language. Also, you can use Contact Form 7’s administration panel in your own language.

Adding Cc, Bcc and Other Mail Headers

Contact Form 7 has setting fields for mail headers of To, From and Subject. Have you ever thought of adding Cc or Bcc headers to your mail? Additional Headers fields in the Mail and Mail (2) sections are just for that purpose.

Selectable Recipient with Pipes

Imagine that you are a webmaster of a company and you need a contact form on your site which will allow the sender to select an email recipient. Let’s say that the options are the CEO of the company (ceo@example.com), the sales department (sales@example.com) and the support department (support@example.com).

Locating Response Message Box Anywhere

After a visitor of your blog submits the contact form, the visitor sees a response message from Contact Form 7, such as “Your message was sent successfully” or “Validation errors occurred.” I sometimes hear from users who tell me that the position of the response message is not good, and, in fact, sometimes their visitors [...]

Tracking Form Submissions with Google Analytics

If you use Google Analytics to analyze web traffic on your site, I imagine you would like to track submissions through your contact forms as well. Contact Form 7 allows you to set up this type of tracking very simply. In this post, I’ll show you how to do it.

Why isn’t My AJAX Contact Form Working Correctly?

Contact Form 7 supports AJAX submissions. Therefore, a correctly configured contact form in Contact Form 7 works exactly like the following demo-form. Try inputting any text into fields and submitting it.

Loading JavaScript and Stylesheet Only When it is Necessary

In its default settings, Contact Form 7 loads its JavaScript and CSS stylesheet on every page. You might think it would be redundant or wasteful, and want to load them only on those pages that contain contact forms. I understand the feeling, but there is a technical difficulty for a plugin in knowing whether the [...]