WordPress : Contact Form 7 Guide

Form Example 1

Form Template
<div id="myform-inner">

<div class="form-group">
     [text* full-name class:form-control placeholder "Full Name *"]
</div>

<div class="form-group">
     [email* email class:form-control placeholder "Email *"]
</div>
<div class="form-group">
     [number* phone-number class:form-control placeholder "Phone Number *"]
</div>
<div class="form-group">
[textarea message class:form-control placeholder "Message"]
</div>

<div class="text-center">
 [submit class:btn class:btn-primary class:submit "Submit"]
</div>

</div>
Email Template
From: [full-name] <[email]>

Full Name: [full-name]
Phone-number: [phone-number]

Message:
[message]

--
This e-mail was sent from a contact form on [_url]
--

- Website & Page Info
[_site_title]
[_site_url]
[_url]


[_date]
[_time]
[_user_login]

Submission #: [_serial_number]

Form Example 2

<div id="myform-inner">

<div class="form-group">
     [text* first-name class:form-control placeholder "First Name *"]
</div>
<div class="form-group">
     [text* last-name class:form-control placeholder "Last Name *"]
</div>
<div class="form-group">
     [email* email class:form-control placeholder "Email *"]
</div>
<div class="form-group">
     [number* phone-number class:form-control placeholder "Phone Number *"]
</div>
<div class="form-group">
     [text* address class:form-control placeholder "Address *"]
</div>
<div class="form-group">
     [text* city class:form-control placeholder "City*"]
</div>

<div class="form-group">
<label>Where did you hear about us ?</label>
 [select where-did-you-heard-about-us class:form-control include_blank "Trailer" "Google" "Online - Website" "Print" "Referral"]
</div>

<div class="form-group">
[textarea message class:form-control placeholder "Message"]
</div>

<div class="text-center">
 [submit class:btn class:btn-primary class:submit "Submit"]
</div>

</div>
From: [first-name] [last-name] <[email]>

First Name: [first-name]
Last Name: [last-name]
Phone-number: [phone-number]
Address: [address]
City: [city]
Where did you heard about us [where-did-you-heard-about-us]

Message:
[message]

--
This e-mail was sent from a contact form on [_url]
--

- Website & Page Info
[_site_title]
[_site_url]
[_url]


[_date]
[_time]
[_user_login]

Submission #: [_serial_number]

Settings

Mail Headers

Reply-To: [email]