Posted By

sixmedia on 07/22/09


Tagged

form textmate contact


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

marcustrapp


EE Contact Form


 / Published in: Other
 

  1. {if segment_2 =="thanks"}
  2. <h1>Many thanks</h1>
  3. <p>We have now received your message and will be in touch shortly.</p>
  4. {if:else}
  5. {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/"}
  6. <fieldset>
  7. <legend>Your Contact Details</legend>
  8. <ol>
  9. <li>
  10. <label for="name">Name: <em>*</em></label>
  11. <input type="text" id="name" name="name" size="40" />
  12. </li>
  13.  
  14. <li>
  15. <label for="email">Your Email: <em>*</em></label>
  16. <input type="text" id="email" name="email" size="40" maxlength="35" value="" />
  17. </li>
  18. </ol>
  19. </fieldset>
  20.  
  21. <fieldset>
  22. <legend>Comments</legend>
  23. <ol>
  24. <li>
  25. <label for="subject">Subject:</label>
  26. <input type="text" id="subject" name="subject" size="40" value="" />
  27. </li>
  28. <li>
  29. <label for="comments">Message: <em>*</em></label>
  30. <textarea id="comments" name="comments" rows="10" cols="60"></textarea>
  31. </li>
  32. {if captcha}
  33. <li>
  34. <label for="captcha">Enter the word you see in the image: <em>*</em></label>
  35. <input type="text" id="captcha" name="captcha" value="" maxlength="20" /><br />
  36. {captcha}
  37. </li>
  38. {/if}
  39. </ol>
  40. </fieldset>
  41. <p><input name="submit" type="submit" value="Send Message" /></p>
  42. {/exp:freeform:form}
  43. {/if}
  44.  

Report this snippet  

You need to login to post a comment.