<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Contact Form 7 &#187; Tutorials</title>
	<atom:link href="http://contactform7.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://contactform7.com</link>
	<description>Just another contact form plugin for WordPress. Simple but flexible.</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:36:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Submit Button</title>
		<link>http://contactform7.com/2010/03/23/submit-button/</link>
		<comments>http://contactform7.com/2010/03/23/submit-button/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 18:00:12 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=851</guid>
		<description><![CDATA[A submit button is an essential component of a form. As you may know, HTML represents a submit button as an input element with submit type: &#60;input type="submit"&#62;. You can use this HTML tag in a contact form of Contact Form 7, but you should use Contact Form 7&#8217;s own submit form tag instead.

This is [...]]]></description>
			<content:encoded><![CDATA[<p>A submit button is an essential component of a form. As you may know, HTML represents a submit button as an input element with submit type: <code>&lt;input type="submit"&gt;</code>. You can use this HTML tag in a contact form of Contact Form 7, but you should use Contact Form 7&#8217;s own <code>submit</code> <a href="http://contactform7.com/2009/11/17/tag-syntax/#form_tag"><em>form tag</em></a> instead.<br />
<span id="more-851"></span><br />
This is the simplest form of submit tag:</p>
<pre><code>[submit]</code></pre>
<p>You can add a value like this:</p>
<pre><code>[submit "Send Mail"]</code></pre>
<p>Did you notice that the submit tag&#8217;s syntax is bit different than other <em>form tags</em>? The submit tag does not have name part, which other form tags have.</p>
<p>In addition to this, you can add several options to submit tag.</p>
<table>
<caption>Available options for submit</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[submit class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
</tbody>
</table>
<p>Example:
<pre><code>[submit class:button id:form-submit "Send Mail"]</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2010/03/23/submit-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Mail</title>
		<link>http://contactform7.com/2009/12/04/setting-up-mail/</link>
		<comments>http://contactform7.com/2009/12/04/setting-up-mail/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 18:14:22 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=629</guid>
		<description><![CDATA[Contact Form 7 allows you to edit mail templates very flexibly. You are able to edit not only the message body, but also message header fields. And you can manage HTML mail as well. In this article, I&#8217;ll show you the settings for each field and explain how to set up your mail with these [...]]]></description>
			<content:encoded><![CDATA[<p>Contact Form 7 allows you to edit mail templates very flexibly. You are able to edit not only the message body, but also message header fields. And you can manage HTML mail as well. In this article, I&#8217;ll show you the settings for each field and explain how to set up your mail with these settings.<br />
<span id="more-629"></span><br />
<img src="https://cacoo.com/diagrams/zy0t2bpIqRvdupzA-4D565.png" alt="Mail and Mail (2)" /></p>
<dl>
<dt>[A] Basic header fields (<em>To</em>, <em>From</em> and <em>Subject</em>):</dt>
<dd>These are basic and necessary <a href="http://en.wikipedia.org/wiki/E-mail_header#Message_header">message header</a> fields; and you can embed <em><a href="http://contactform7.com/2009/11/17/tag-syntax/#mail_tag">mail tags</a></em> anywhere in these fields.</dd>
<dt>[B] Message body:</dt>
<dd>This is the message body; you can embed <em>mail tags</em> anywhere in this field.</dd>
<dt>[C] Additional headers:</dt>
<dd>You can insert additional message header fields here, <a href="http://contactform7.com/2009/11/28/adding-cc-bcc-and-other-mail-headers/">such as <em>Cc</em> and <em>Bcc</em></a>. There should be one field per line. You can embed <em>mail tags</em> anywhere in these fields.</dd>
<dt>[D] File attachments:</dt>
<dd>If you attach <a href="http://contactform7.com/2009/11/24/file-uploading-and-attachment/">uploaded files</a> to this mail, put <em>mail tags</em> for the uploaded files into this field.</dd>
<dt>[E] Use of HTML:</dt>
<dd>By default, plain text is used for the message body. To <a href="http://en.wikipedia.org/wiki/E-mail_header#Plain_text_and_HTML">use HTML</a>, check this box.</dd>
<dt>[F] Mail (2):</dt>
<dd><em>Mail (2)</em> is yet another mail section, except that this is an optional section. <em>Mail (2)</em> works in completely the same manner as <em>Mail</em>. To activate <em>Mail (2)</em>, check the <em>Use mail (2)</em> box.</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/12/04/setting-up-mail/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Spam Filtering with Akismet</title>
		<link>http://contactform7.com/2009/12/01/spam-filtering-with-akismet/</link>
		<comments>http://contactform7.com/2009/12/01/spam-filtering-with-akismet/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 00:29:53 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=619</guid>
		<description><![CDATA[Today, spammers target everything. Your contact form is no exception. Contact Form 7 provides several ways to prevent spam, and cooperation with the Akismet spam filtering plugin is an important part of the prevention strategy. In this article, I&#8217;ll show you how to implement Akismet on your contact form.

First, you need to activate the Akismet. [...]]]></description>
			<content:encoded><![CDATA[<p>Today, spammers target everything. Your contact form is no exception. Contact Form 7 provides several ways to prevent spam, and cooperation with the <a href="http://akismet.com/"><strong>Akismet</strong></a> spam filtering plugin is an important part of the prevention strategy. In this article, I&#8217;ll show you how to implement Akismet on your contact form.<br />
<span id="more-619"></span></p>
<p>First, you need to activate the Akismet. Akismet is comes automatically installed out-of-the-box so you just need to activate it and set up a WordPress.com API key.</p>
<p>Next, add the following Akismet-related options into the appropriate fields in your form.</p>
<ul>
<li><code>akismet:author</code><br />
Add this option to the field that accepts the name of the sender.<br />
Example: <code>[text* your-name akismet:author]</code>
</li>
<li><code>akismet:author_email</code><br />
Add this option to the field that accepts the email address of the sender.<br />
Example: <code>[email* your-email akismet:author_email]</code>
</li>
<li><code>akismet:author_url</code><br />
Add this option to the field that accepts the URL of the sender.<br />
Example: <code>[text your-url akismet:author_url]</code>
</li>
</ul>
<div style="float: left; margin: 0.2em 1em 0.2em 0;">
<script type="text/javascript"><!--
google_ad_client = "pub-8337552384731792";
/* 300x250 Content */
google_ad_slot = "9733835478";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>When at least one of those options are set (remember, it&#8217;s recommended to set all of the options for accurate judgment), Contact Form 7 will send Akismet all of the sender&#8217;s input and the information relating to the submitting activity. Akismet will then judge whether this submission is likely to be spam.</p>
<p>If Akismet judges the submission as spam, Contact Form 7 cancels the sending of mails and shows a message that says, &#8220;it failed to send the message.&#8221; You&#8217;ll see an <strong>orange</strong> border around the response message when it has been judged as spam.</p>
<p><img src="https://cacoo.com/diagrams/upDNHLXDD3XaE2Y8-3424E.png" alt="response sample" /></p>
<p>Finally, to make sure it works, you can test it by sending &#8220;viagra-test-123&#8243; as name of the sender. This test case will always be judged as spam.</p>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/12/01/spam-filtering-with-akismet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Acceptance Checkbox</title>
		<link>http://contactform7.com/2009/11/30/acceptance-checkbox/</link>
		<comments>http://contactform7.com/2009/11/30/acceptance-checkbox/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 02:07:56 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=609</guid>
		<description><![CDATA[You may wish to allow users to submit your contact form only if they accept certain terms. In such cases, a form tag acceptance will be useful.
The process is simple. Just insert an acceptance tag into your form like this:
[acceptance accept-this] Check here if you accept these terms.
Due to JavaScript magic, users won&#8217;t be able [...]]]></description>
			<content:encoded><![CDATA[<p>You may wish to allow users to submit your contact form only if they accept certain terms. In such cases, a <a href="http://contactform7.com/2009/11/17/tag-syntax/#form_tag"><em>form tag</em></a> <code>acceptance</code> will be useful.</p>
<p>The process is simple. Just insert an <code>acceptance</code> tag into your form like this:</p>
<pre><code>[acceptance accept-this] Check here if you accept these terms.</code></pre>
<p>Due to JavaScript magic, users won&#8217;t be able to press the submit button without first checking the box to accept your terms. In addition, you can invert it with an <code>invert</code> option, i.e. allowing users to submit only if they uncheck the checkbox.<br />
<span id="more-609"></span></p>
<table>
<caption>Available options for acceptance</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[acceptance accept-this class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>invert</td>
<td></td>
<td>Allow users to submit only if they uncheck the checkbox.</td>
</tr>
<tr>
<td>default:on</td>
<td></td>
<td>Check the checkbox by default.</td>
</tr>
</tbody>
</table>
<h4>Demo</h4>
<p>Note: This is a demo. This form doesn&#8217;t send a mail practically.</p>
<div style="border: 1px solid #aaa; padding: 20px; margin: 1em;">
[contact-form]
</div>
<p>View source of above form:</p>
<pre><code>1) Default
[acceptance accept-this-1] Check here if you accept these terms.

2) Inverted
[acceptance accept-this-2 invert] Uncheck here if you accept these terms.

3) Checked by default + Inverted
[acceptance accept-this-3 invert default:on] Uncheck here if you accept these terms.

[submit "Send"]</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/30/acceptance-checkbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quiz</title>
		<link>http://contactform7.com/2009/11/28/quiz/</link>
		<comments>http://contactform7.com/2009/11/28/quiz/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 13:39:55 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=594</guid>
		<description><![CDATA[In order to distinguish a form submission by a computer program versus one from a human, and also to block them, you&#8217;ve been able to use CAPTCHAs with Contact Form 7. However, CAPTCHAs are hard to use in some cases. Some people have difficulty in answering CAPCHA, or simply dislike answering them. Managing CAPTCHA needs [...]]]></description>
			<content:encoded><![CDATA[<p>In order to distinguish a form submission by a computer program versus one from a human, and also to block them, you&#8217;ve been able to use <a href="http://contactform7.com/2009/11/25/captcha/">CAPTCHAs</a> with Contact Form 7. However, CAPTCHAs are hard to use in some cases. Some people have difficulty in answering CAPCHA, or simply dislike answering them. Managing CAPTCHA needs graphic libraries installed on the server, which are not always provided.</p>
<p>In some cases, a simpler approach is more suitable. With this quiz feature, you can do it by using question/answer testing with simple text that you have the flexibility to create.<br />
<span id="more-594"></span><br />
For example, when you insert this tag into your form:</p>
<pre><code>[quiz capital-quiz "The capital of Japan?|Tokyo"]</code></pre>
<p>The content before the pipe (&#8216;|&#8217;) character (<em>The capital of Japan?</em>) will be used as the question. The content after the pipe (<em>Tokyo</em>) will be used as the expected answer.</p>
<p><img src="https://cacoo.com/diagrams/brAM7iZ3Wit5fkPC-30DA9.png" alt="quiz sample" class="bordered" /></p>
<p>If your senders prefer math, change the tag to look something like:</p>
<pre><code>[quiz math-quiz "12+48=?|60"]</code></pre>
<p>You can use any question and answer. To submit the form, the sender has to input the correct answer.</p>
<p>When you put multiple question/answer pairs in a tag, one of the pairs will be selected at random.</p>
<pre><code>[quiz random-capital-quiz "The capital of Japan?|Tokyo"
                        "The capital of France?|Paris"
                        "The capital of Madagascar?|Antananarivo"]</code></pre>
<table>
<caption>Available options for quiz</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td><em>(size)</em>/<em>(maxlength)</em></td>
<td><code>40/100</code><br /><code>20/</code><br /><code>/50</code></td>
<td>Field size and max length. You can omit one of them.</td>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[quiz capital-quiz class:y2008 class:m01 class:d01 "The capital of Japan?|Tokyo"]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
</tbody>
</table>
<p>Example:
<pre><code>[quiz capital-quiz 10/20 id:qatest "The capital of Japan?|Tokyo"]</code></pre>
<p>In the tag generator for the quiz tag, make sure to enter one pair per line.</p>
<p><img src="https://cacoo.com/diagrams/imQjcrDimnJPQ3Dt-DEBC1.png" alt="tag generator for quiz screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/28/quiz/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CAPTCHA</title>
		<link>http://contactform7.com/2009/11/25/captcha/</link>
		<comments>http://contactform7.com/2009/11/25/captcha/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 10:38:50 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=535</guid>
		<description><![CDATA[Contact Form 7 allows you to insert a CAPTCHA into your contact form to prevent bots from submitting forms. Contact Form 7 utilizes Really Simple CAPTCHA as its officially-sanctioned CAPTCHA module, so you will need to install the Really Simple CAPTCHA plugin before you use CAPTCHA in your form.
The rest of this article will explain [...]]]></description>
			<content:encoded><![CDATA[<p>Contact Form 7 allows you to insert a <a href="http://en.wikipedia.org/wiki/CAPTCHA">CAPTCHA</a> into your contact form to prevent bots from submitting forms. Contact Form 7 utilizes <strong><a href="http://wordpress.org/extend/plugins/really-simple-captcha/">Really Simple CAPTCHA</a></strong> as its officially-sanctioned CAPTCHA module, so you will need to install the Really Simple CAPTCHA plugin before you use CAPTCHA in your form.</p>
<p>The rest of this article will explain how to use CAPTCHA with Contact Form 7, based on the assumption that you have already installed Really Simple CAPTCHA.<br />
<span id="more-535"></span></p>
<div style="float: right; margin: 0.2em 0 0.2em 1em;">
<script type="text/javascript"><!--
google_ad_client = "pub-8337552384731792";
/* 300x250 Content */
google_ad_slot = "9733835478";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h4>Before using CAPTCHA</h4>
<p>Really Simple CAPTCHA requires that <a href="http://php.net/manual/en/book.image.php">GD and FreeType PHP libraries</a> be installed on your server in order to create CAPTCHA images. If you are not certain if they are installed, ask your server administrator.</p>
<p>Contact Form 7 creates a temporary folder and stores any CAPTCHA files there. In most cases, the location of the temporary folder is <em>wp-contents/uploads/wpcf7_captcha</em>, but it can be different depending on your settings.</p>
<p>Open the <em>Settings</em> &gt; <em>Miscellaneous</em> menu, and check the setting for <strong><em>Store uploads in this folder</em></strong> field. The default is <code>wp-content/uploads</code>. Normally, Contact Form 7 creates a <code>wpcf7_captcha</code> folder in this location and uses it as the temporary folder for any CAPTCHA files.</p>
<p><img src="https://cacoo.com/diagrams/SWtmiolFspIwqr3X-C22CE.png" alt="file uploading setting" /></p>
<p>This folder is created automatically, but sometimes it can fail. A possible cause for this is that the parent folder doesn&#8217;t have sufficient writing permissions. In such cases, you can change the permissions or create a folder manually.</p>
<p>You can also change the path of the temporary folder by setting the <code>WPCF7_CAPTCHA_TMP_DIR</code> constant in your wp-config.php like this:</p>
<pre><code>define( 'WPCF7_CAPTCHA_TMP_DIR', '/your/file/path' );</code></pre>
<p>If <code>WPCF7_CAPTCHA_TMP_DIR</code> is defined, this directory is used as the temporary folder instead.</p>
<p>Make certain your temporary folder for CAPTCHA files exists and is writable. Otherwise, CAPTCHA can not be created.</p>
<h4>How to use CAPTCHA</h4>
<p>To add a CAPTCHA into your contact form, you must utilize <code>captchac</code> and <code>captchar</code> form tags.</p>
<p><code>captchac</code> means CAPTCHA-Challenge and it represents an <code>&lt;img&gt;</code> element for a CAPTCHA image. <code>captchar</code> means CAPTCHA-Response and it represents an <code>&lt;input type="text"&gt;</code> element for a response input field.</p>
<p>A <code>captchac</code> tag must always be paired with a <code>captchar</code> tag with the same name. For example, tags shown below are valid:</p>
<pre><code>[captchac captcha-1] [captchar captcha-1]</code></pre>
<p>But these are invalid because they have different names. In this case, the CAPTCHA and its response do not match:</p>
<pre><code>[captchac captcha-2] [captchar captcha-3]</code></pre>
<h4>CAPTCHA-Challenge</h4>
<p><code>captchac</code> means CAPTCHA-Challenge and it represents a CAPTCHA image (<code>&lt;img&gt;</code> in HTML).</p>
<table>
<caption>Available options for captchac</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>img</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>img</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[captchac your-captcha class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>size:<em>(sml)</em></td>
<td><code>size:s</code></td>
<td>Image size. Only <code>size:s</code> (60&#215;20), <code>size:m</code> (72&#215;24) and <code>size:l</code> (84&#215;28) are available.</td>
</tr>
<tr>
<td>fg:#<em>(hex)</em></td>
<td><code>fg:#ff0000</code></td>
<td>Foreground color of the image. Put RGB color code in hex format after <code>fg:#</code>.</td>
</tr>
<tr>
<td>bg:#<em>(hex)</em></td>
<td><code>bg:#00ffff</code></td>
<td>Background color of the image. Put RGB color code in hex format after <code>bg:#</code>.</td>
</tr>
</tbody>
</table>
<p>Example:
<pre><code>[captchac your-captcha size:s fg:#ffffff bg:#000000]</code></pre>
<h4>CAPTCHA-Response</h4>
<p><code>captchar</code> means CAPTCHA-Response and it represents a response input field (<code>&lt;input type="text"&gt;</code> in HTML).</p>
<table>
<caption>Available options for captchar</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td><em>(size)</em>/<em>(maxlength)</em></td>
<td><code>40/100</code><br /><code>20/</code><br /><code>/50</code></td>
<td>Field size and max length. You can omit one of them.</td>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[captchar your-captcha class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
</tbody>
</table>
<p>Example:
<pre><code>[captchar your-captcha 40/100]</code></pre>
<h4>Demo</h4>
<p>Note: This is a demo. This form doesn&#8217;t send a mail practically.</p>
<div style="border: 1px solid #aaa; padding: 20px; margin: 1em;">
[contact-form]
</div>
<p>View source of above form:</p>
<pre><code>1) Default
Input this code: [captchac captcha-170]
[captchar captcha-170 4/4]

2) Small size, inverted
Input this code: [captchac captcha-778 size:s fg:#ffffff bg:#000000]
[captchar captcha-778 4/4]

3) Large size, green text
Input this code: [captchac captcha-118 size:l fg:#00ff00 bg:#ffffff]
[captchar captcha-118 4/4]

[submit "Send"]</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/25/captcha/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>File Uploading and Attachment</title>
		<link>http://contactform7.com/2009/11/24/file-uploading-and-attachment/</link>
		<comments>http://contactform7.com/2009/11/24/file-uploading-and-attachment/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 18:42:11 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=463</guid>
		<description><![CDATA[In this post, I will explain the file uploading and attachment feature of Contact Form 7. With this feature, you can allow your users to upload their files via your form, and then an email with attachments of the files is sent to you.
To set up, two steps are needed: 1) Add file uploading fields [...]]]></description>
			<content:encoded><![CDATA[<p>In this post, I will explain the file uploading and attachment feature of Contact Form 7. With this feature, you can allow your users to upload their files via your form, and then an email with attachments of the files is sent to you.</p>
<p>To set up, two steps are needed: 1) Add file uploading fields in your form, 2) Set up your mail settings to attach the uploaded files. The two steps will be explained in the rest of this post.<br />
<span id="more-463"></span></p>
<div style="float: right; margin: 0.2em 0 0.2em 1em;">
<script type="text/javascript"><!--
google_ad_client = "pub-8337552384731792";
/* 300x250 Content */
google_ad_slot = "9733835478";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h4>Adding file uploading fields in your form</h4>
<p>Like for other types of form fields, Contact Form 7 provides <a href="http://contactform7.com/2009/11/17/tag-syntax/#form_tag"><em>form tags</em></a> for file uploading fields (<code>&lt;input type="file"&gt;</code> in HTML): <code>file</code> and <code>file*</code>. <code>file*</code> is a required field and requires the user to upload a file.</p>
<table>
<caption>Available options for file and file*</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[file your-file class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>filetypes:<em>(filetypes)</em></td>
<td><code>filetypes:gif|png|jpg|jpeg</code></td>
<td>Acceptable file types. List the file extensions after <code>filetypes:</code>, and separate them with &#8216;|&#8217; (pipe) character when you set multiple file types.</td>
</tr>
<tr>
<td>limit:<em>(num)</em></td>
<td><code>limit:1048576</code><br /><code>limit:1024kb</code><br /><code>limit:1mb</code></td>
<td>Limit the max file size acceptable. You can use <code>kb</code> (kilo byte) or <code>mb</code> (mega byte) suffix optionally. If you omit suffix, the number means bytes. Note that you can&#8217;t use a decimal point in it (i.e., like this: <code>[file your-file limit:1.5mb]</code>) and it will be ignored if it exists. </td>
</tr>
</tbody>
</table>
<p>Example:</p>
<pre><code>[file your-file filetypes:pdf|txt limit:2mb]</code></pre>
<p>Contact Form 7 applies default restrictions for file type and file size when you do not set the <code>filetypes:</code> and <code>limit:</code> (file size) options explicitly. Default acceptable file types (extensions) are: <em>jpg</em>, <em>jpeg</em>, <em>png</em>, <em>gif</em>, <em>pdf</em>, <em>doc</em>, <em>docx</em>, <em>ppt</em>, <em>pptx</em>, <em>odt</em>, <em>avi</em>, <em>ogg</em>, <em>m4a</em>, <em>mov</em>, <em>mp3</em>, <em>mp4</em>, <em>mpg</em>, <em>wav</em>, and <em>wmv</em>. Default acceptable file size is 1 MB (1048576 bytes).</p>
<h4>Setting up file attachments with a mail</h4>
<p>To attach the uploaded files to the mail, put <a href="http://contactform7.com/2009/11/17/tag-syntax/#mail_tag"><em>mail tags</em></a> corresponding to <em>form tags</em> for file uploading fields into &#8216;File attachments&#8217; field as shown below.</p>
<p><img src="https://cacoo.com/diagrams/eQBY3UonRgupSiUV-2E565.png" alt="file attachment" /></p>
<p>In this example, the <em>form tag</em> for the file uploading field is:</p>
<pre><code>[file <strong>your-file</strong> filetypes:pdf]</code></pre>
<p>Therefore, the corresponding <em>mail tag</em> to this is:</p>
<pre><code><strong>[your-file]</strong></code></pre>
<p>Note that what you&#8217;re required to put in the &#8216;File attachments&#8217; field is <code>[your-file]</code>, not <code>[file your-file filetypes:pdf]</code>.</p>
<p>If you have multiple files uploaded and want to attach them into an email, simply line them up in the &#8216;File attachments&#8217; field like this:</p>
<pre><code>[your-file][your-another-file]</code></pre>
<h4>How your uploaded files are managed</h4>
<p>After a user uploads a file through your contact form, Contact Form 7 checks to see if: 1.) Any <a href="http://www.php.net/manual/en/features.file-upload.errors.php">PHP errors</a> have occurred; 2.) the file type and file size are valid; and then, if the check turns out okay, Contact Form 7 moves the uploaded file to a temporary folder. At this point, Contact Form 7 attaches the file to the mail and sends it. After these procedures, Contact Form 7 then removes the file from the temporary folder.</p>
<p>The location of the temporary folder depends upon your settings in WordPress. Open the <em>Settings</em> &gt; <em>Miscellaneous</em> menu, and check the setting for <strong><em>Store uploads in this folder</em></strong> field. The default is <code>wp-content/uploads</code>. Normally, Contact Form 7 creates a <code>wpcf7_uploads</code> folder in this location and uses it as the temporary folder for any uploaded files.</p>
<p><img src="https://cacoo.com/diagrams/SWtmiolFspIwqr3X-C22CE.png" alt="file uploading setting" /></p>
<p>This folder is created automatically, but sometimes it can fail. The most possible reason for this is that the parent folder doesn&#8217;t have sufficient writing permissions. In such cases, you can change the permissions or create a folder manually.</p>
<p>You can also change the path of the temporary folder by setting the <code>WPCF7_UPLOADS_TMP_DIR</code> constant in your wp-config.php like this:</p>
<pre><code>define( 'WPCF7_UPLOADS_TMP_DIR', '/your/file/path' );</code></pre>
<p>If <code>WPCF7_UPLOADS_TMP_DIR</code> is defined, this directory is used as the temporary folder instead.</p>
<p>Make certain your temporary folder for uploaded files exists and is writable. Otherwise, all file uploading will fail.</p>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/24/file-uploading-and-attachment/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Checkboxes, Radio Buttons and Menus</title>
		<link>http://contactform7.com/2009/11/20/checkboxes-radio-buttons-and-menus/</link>
		<comments>http://contactform7.com/2009/11/20/checkboxes-radio-buttons-and-menus/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 22:16:13 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=432</guid>
		<description><![CDATA[Contact Form 7 provides several types of form tags for representing checkboxes, radio buttons and drop-down menus. In this article, I will show you detailed information about the usage and semantics of these form tags.

Checkbox, Checkbox* and Radio
Both checkbox and checkbox* represent a group of checkboxes (&#60;input type="checkbox"&#62; in HTML). checkbox* requires the user to [...]]]></description>
			<content:encoded><![CDATA[<p>Contact Form 7 provides several types of <a href="http://contactform7.com/2009/11/17/tag-syntax/#form_tag"><em>form tags</em></a> for representing checkboxes, radio buttons and drop-down menus. In this article, I will show you detailed information about the usage and semantics of these form tags.<br />
<span id="more-432"></span></p>
<div style="float: right; margin: 0.2em 0 0.2em 1em;">
<script type="text/javascript"><!--
google_ad_client = "pub-8337552384731792";
/* 300x250 Content */
google_ad_slot = "9733835478";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h4>Checkbox, Checkbox* and Radio</h4>
<p>Both <code>checkbox</code> and <code>checkbox*</code> represent a group of checkboxes (<code>&lt;input type="checkbox"&gt;</code> in HTML). <code>checkbox*</code> requires the user to check at least one of the boxes.</p>
<p><code>radio</code> represents a group of radio buttons (<code>&lt;input type="radio"&gt;</code> in HTML). Note that there is no required version of radio (&#8220;radio*&#8221;). The reason Contact Form 7 doesn&#8217;t provide &#8220;radio*&#8221; is because a radio button is a required field by nature. <a href="http://www.w3.org/TR/html401/interact/forms.html#radio">The HTML spec document</a> explains it more in detail.</p>
<table>
<caption>Available options for checkbox, checkbox* and radio</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the wrapper element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the wrapper element. To set two or more classes, you can use multiple <code>class:</code> option.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the first <code>input</code> element.</td>
</tr>
<tr>
<td>default:<em>(num)</em></td>
<td><code>default:2</code><br /><code>default:1_2_3</code></td>
<td>Pre-checked options. The integer following <code>default:</code> is the position in the order of items. 1 is the first one. If you want to make two or more items selected, joint integers with underbar (_), as <code>default:1_2_3</code>.</td>
</tr>
<tr>
<td>label_first</td>
<td></td>
<td>By default, a checkbox or a radio button are put first, and a label last. By adding <code>label_first</code> option, you can reverse them.</td>
</tr>
<tr>
<td>use_label_element</td>
<td></td>
<td>Wrap each checkbox and radio button with <code>&lt;label&gt;</code> tag.</td>
</tr>
<tr>
<td>exclusive</td>
<td></td>
<td>Make checkboxes exclusive. I mean, when you check a checkbox in a group, others are unchecked, so it accepts zero checked or one checked. This is a JavaScript gimmick, so requires JavaScript. Radio button doesn&#8217;t support this option.</td>
</tr>
</tbody>
</table>
<p>These types of tags have one or more values, and the values will be used as the values and labels of the checkboxes or radio buttons.</p>
<p>Example:
<pre><code>[checkbox your-country "China" "India" "San Marino"]</code></pre>
<h4>Select and Select*</h4>
<p>Both <code>select</code> and <code>select*</code> represent a drop-down menu (<code>&lt;select&gt;</code> in HTML). <code>select*</code> requires the user to select at least one option from the menu.</p>
<table>
<caption>Available options for select and select*</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>select</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>select</code> element. To set two or more classes, you can use multiple <code>class:</code> option.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>select</code> element.</td>
</tr>
<tr>
<td>default:<em>(num)</em></td>
<td><code>default:2</code><br /><code>default:1_2_3</code></td>
<td>Pre-selected options. The integer following <code>default:</code> is the position in the order of items. 1 is the first one. If you want to make two or more items selected, joint integers with underbar (_), as <code>default:1_2_3</code>.</td>
</tr>
<tr>
<td>multiple</td>
<td></td>
<td>Make drop-down menu multi-selectable.</td>
</tr>
<tr>
<td>include_blank</td>
<td></td>
<td>Insert a blank item into the top of options of this drop-down menu.</td>
</tr>
</tbody>
</table>
<p>These types of tags have one or more values, and the values will be used as options in the drop-down menu.</p>
<p>Example:
<pre><code>[select your-country "China" "India" "San Marino"]</code></pre>
<h4>See also</h4>
<ul>
<li><a href="http://contactform7.com/2009/11/26/selectable-recipient-with-pipes/">Selectable Recipient with Pipes</a></li>
</ul>
<h4>Demo</h4>
<p>Note: This is a demo. This form doesn&#8217;t send a mail practically.</p>
<div style="border: 1px solid #aaa; padding: 20px; margin: 1em;">
[contact-form]
</div>
<p>View source of above form:</p>
<pre><code>Select Country (required)
[checkbox* your-country use_label_element "China" "India" "San Marino"]

Select Sports
[radio your-sports label_first default:2 "Football" "Tennis" "Pole-vault"]

Select Fruit (required)
[checkbox* your-fruit exclusive "Apple" "Banana" "Grape"]

Select Browser (required)
[select* your-browser include_blank "Firefox" "Safari" "Opera" "Lynx"]

Select Ghkdsjdf
[select your-ghkdsjdf multiple "fsdfs" "klgjfk" "vdrie"]

[submit "Send"]</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/20/checkboxes-radio-buttons-and-menus/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Text Fields</title>
		<link>http://contactform7.com/2009/11/18/text-fields/</link>
		<comments>http://contactform7.com/2009/11/18/text-fields/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 10:20:22 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=407</guid>
		<description><![CDATA[Text input fields are the most common factors of a contact form. As you may know, HTML has two types of elements for text input fields: &#60;input type="text"&#62; for a single-line input; and &#60;textarea&#62; for multi-line input.
Contact Form 7 provides six types of form tags for representing these two types of HTML elements: text; text*; [...]]]></description>
			<content:encoded><![CDATA[<p>Text input fields are the most common factors of a contact form. As you may know, HTML has two types of elements for text input fields: <code>&lt;input type="text"&gt;</code> for a single-line input; and <code>&lt;textarea&gt;</code> for multi-line input.</p>
<p>Contact Form 7 provides six types of <a href="http://contactform7.com/2009/11/17/tag-syntax/#form_tag"><em>form tags</em></a> for representing these two types of HTML elements: <code>text</code>; <code>text*</code>; <code>email</code>; <code>email*</code>; <code>textarea</code>; and <code>textarea*</code>. In this article, I will show you detailed information about the usage and semantics of these form tags.<br />
<span id="more-407"></span><br />
<div style="float: right; margin: 0.2em 0 0.2em 1em;">
<script type="text/javascript"><!--
google_ad_client = "pub-8337552384731792";
/* 300x250 Content */
google_ad_slot = "9733835478";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></p>
<h4>Text and Text*</h4>
<p>Both <code>text</code> and <code>text*</code> are used for single-line input and accept any form of text. The difference between them is that <code>text*</code> connotes a required field. In Contact Form 7&#8217;s convention, all types of tags with an asterisk &#8216;*&#8217; mean that these are required fields.</p>
<table>
<caption>Available options for text and text*</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td><em>(size)</em>/<em>(maxlength)</em></td>
<td><code>40/100</code><br /><code>20/</code><br /><code>/50</code></td>
<td>Field size and max length. You can omit one of them.</td>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[text your-text class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>akismet:author<br />akismet:author_url</td>
<td></td>
<td><a href="http://contactform7.com/2009/12/01/spam-filtering-with-akismet/">Options for using Akismet.</a></td>
</tr>
</tbody>
</table>
<p>These fields can have a zero or one value, and the value will be used as the default value of the input field.</p>
<p>Example:
<pre><code>[text* your-name 20/40 class:required "John Smith"]</code></pre>
<h4>Email and Email*</h4>
<p>Both <code>email</code> and <code>email*</code> are for single-line input and accept only e-mail addresses. <code>email*</code> is a required field.</p>
<table>
<caption>Available options for email and email*</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td><em>(size)</em>/<em>(maxlength)</em></td>
<td><code>40/100</code><br /><code>20/</code><br /><code>/50</code></td>
<td>Field size and max length. You can omit one of them.</td>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>input</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[email your-email class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>input</code> element.</td>
</tr>
<tr>
<td>akismet:author_email</td>
<td></td>
<td><a href="http://contactform7.com/2009/12/01/spam-filtering-with-akismet/">Option for using Akismet.</a></td>
</tr>
</tbody>
</table>
<p>These fields can have a zero or one value, and the value will be used as the default value of the input field.</p>
<p>Example:
<pre><code>[email your-email 40/100 "example@example.com"]</code></pre>
<h4>Textarea and Textarea*</h4>
<p>Both <code>textarea</code> and <code>textarea*</code> are for a multi-line input and accept any form of text. <code>textarea*</code> is a required field.</p>
<table>
<caption>Available options for textarea and textarea*</caption>
<tbody>
<tr>
<th>Option</th>
<th>Examples</th>
<th>Description</th>
</tr>
<tr>
<td><em>(cols)</em>x<em>(rows)</em></td>
<td><code>40x10</code><br /><code>80x</code><br /><code>x4</code></td>
<td>Columns (width) and rows (height) of text area. You can omit one of them.</td>
</tr>
<tr>
<td>id:<em>(id)</em></td>
<td><code>id:foo</code></td>
<td><code>id</code> attribute value of the <code>textarea</code> element.</td>
</tr>
<tr>
<td>class:<em>(class)</em></td>
<td><code>class:bar</code></td>
<td><code>class</code> attribute value of the <code>textarea</code> element. To set two or more classes, you can use multiple <code>class:</code> option, like <code>[textarea your-text class:y2008 class:m01 class:d01]</code>.</td>
</tr>
<tr>
<td>tabindex:<em>(num)</em></td>
<td><code>tabindex:10</code></td>
<td><code>tabindex</code> attribute value of the <code>textarea</code> element.</td>
</tr>
</tbody>
</table>
<p>These fields can have zero or one value, and the value will be used as the default value of the input field.</p>
<p>Example:
<pre><code>[textarea your-message 40x10 "your message here ..."]</code></pre>
<p>In addition to this, below is another way to set the default value:</p>
<pre><code>[textarea your-message]
foo
bar
[/textarea]</code></pre>
<p>In this manner, you can set a mutli-line default value.</p>
<h4>Demo</h4>
<p>Note: This is a demo. This form doesn&#8217;t send a mail practically.</p>
<div style="border: 1px solid #aaa; padding: 20px; margin: 1em;">
[contact-form]
</div>
<p>View source of above form:</p>
<pre><code>Your Name (required)
[text* your-name 30/60]

Your Email (required)
[email* your-email "yourmail@example.com"]

Your Message
[textarea your-message]
default value for a textarea
can be multi-line
like this
[/textarea]

[submit "Send"]</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/18/text-fields/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Tag Syntax</title>
		<link>http://contactform7.com/2009/11/17/tag-syntax/</link>
		<comments>http://contactform7.com/2009/11/17/tag-syntax/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 04:55:22 +0000</pubDate>
		<dc:creator>Takayuki Miyoshi</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://contactform7.com/?p=371</guid>
		<description><![CDATA[Contact Form 7 allows you to edit the templates of your contact forms and your mail (mail headers and message body) with various &#8220;tags.&#8221; In the terminology for Contact Form 7, tag means a tiny formed string of type enclosed in square brackets ([ ]).
Tags for forms and tags for mail look different from each [...]]]></description>
			<content:encoded><![CDATA[<p>Contact Form 7 allows you to edit the templates of your contact forms and your mail (mail headers and message body) with various &#8220;tags.&#8221; In the terminology for Contact Form 7, <em>tag</em> means a tiny formed string of type enclosed in square brackets ([ ]).</p>
<p>Tags for forms and tags for mail look different from each other, for example, you can use <code>[text* your-name]</code> in your form and <code>[your-name]</code> in your mail. They each have a different syntax.<br />
<span id="more-371"></span></p>
<div style="float: right; margin: 0.2em 0 0.2em 1em;">
<script type="text/javascript"><!--
google_ad_client = "pub-8337552384731792";
/* 300x250 Content */
google_ad_slot = "9733835478";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h4 id="form_tag">Form Tag Syntax</h4>
<p>A tag in a form template (&#8220;form tag&#8221;) will be replaced with an HTML element which represents an input field when it is displayed in an actual form. Components of a form tag are able to be separated into four parts: type, name, options and values.</p>
<p><img src="https://cacoo.com/diagrams/KVF6kfjIN25QD3hG-97B58.png" alt="form tag example" /></p>
<p><strong>Type</strong> is the most important factor, as it defines what type of HTML element will replace itself, and what kind of input is expected through it.</p>
<p><strong>Name</strong> is used for identifying the input field. Most form tags have a name, but there are exceptions.</p>
<p><strong>Options</strong> specify details of behavior and appearance. Options are optional.</p>
<p>In most cases, <strong>values</strong> are used for specifying default values. It is possible that values can be used for other purposes as well; it depends on the type of the tag. Values are optional.</p>
<p>See also</p>
<ul>
<li><a href="http://contactform7.com/2009/11/18/text-fields/">Text Fields</a> (<code>text</code>, <code>text*</code>, <code>email</code>, <code>email*</code>, <code>textarea</code> and <code>textarea*</code>)</li>
<li><a href="http://contactform7.com/2009/11/20/checkboxes-radio-buttons-and-menus/">Checkboxes, Radio Buttons and Menus</a> (<code>checkbox</code>, <code>checkbox*</code>, <code>radio</code>, <code>select</code> and <code>select*</code>)</li>
<li><a href="http://contactform7.com/2009/11/24/file-uploading-and-attachment/">File Uploading and Attachment</a> (<code>file</code> and <code>file*</code>)</li>
<li><a href="http://contactform7.com/2009/11/25/captcha/">CAPTCHA</a> (<code>captchac</code> and <code>captchar</code>)</li>
<li><a href="http://contactform7.com/2009/11/28/quiz/">Quiz</a> (<code>quiz</code>)</li>
<li><a href="http://contactform7.com/2009/11/30/acceptance-checkbox/">Acceptance Checkbox</a> (<code>acceptance</code>)</li>
<li><a href="http://contactform7.com/2010/03/23/submit-button/">Submit Button</a> (<code>submit</code>)</li>
</ul>
<h4 id="mail_tag">Mail Tag Syntax</h4>
<p>A tag in a mail template (&#8220;mail tag&#8221;) is much simpler. A mail tag has only one word in it. In most cases, the word corresponds to the name of a form tag, and it will be replaced with the form input through it.</p>
<p><img src="https://cacoo.com/diagrams/rk2eCO6dwYpcHDwv-97B58.png" alt="mail tag example" /></p>
]]></content:encoded>
			<wfw:commentRss>http://contactform7.com/2009/11/17/tag-syntax/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
