Revision: 15979
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 22, 2009 07:02 by sixmedia
Initial Code
{if segment_2 =="thanks"}
<h1>Many thanks</h1>
<p>We have now received your message and will be in touch shortly.</p>
{if:else}
{exp:freeform:form form_name="contactForm" form_class="cmxform" form_id="standardForm" required="name|email|comments" notify="[email protected]" template="contact_form" return="/contact/thanks/"}
<fieldset>
<legend>Your Contact Details</legend>
<ol>
<li>
<label for="name">Name: <em>*</em></label>
<input type="text" id="name" name="name" size="40" />
</li>
<li>
<label for="email">Your Email: <em>*</em></label>
<input type="text" id="email" name="email" size="40" maxlength="35" value="" />
</li>
</ol>
</fieldset>
<fieldset>
<legend>Comments</legend>
<ol>
<li>
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" size="40" value="" />
</li>
<li>
<label for="comments">Message: <em>*</em></label>
<textarea id="comments" name="comments" rows="10" cols="60"></textarea>
</li>
{if captcha}
<li>
<label for="captcha">Enter the word you see in the image: <em>*</em></label>
<input type="text" id="captcha" name="captcha" value="" maxlength="20" /><br />
{captcha}
</li>
{/if}
</ol>
</fieldset>
<p><input name="submit" type="submit" value="Send Message" /></p>
{/exp:freeform:form}
{/if}
Initial URL
Initial Description
Initial Title
EE Contact Form
Initial Tags
form, textmate
Initial Language
Other