Creating Forms with eForm - eFeedBackForm.tpl
this is the tpl to use with the eForm recipe
Copy this code and paste it in your HTML
[+validationmessage+]
<form method="post" action="[~[*id*]~]"> <input type="hidden" name="formid" value="feedbackForm" />
<input type="text" name="Name" maxlength="60" eform="Your Name::1:Expected at least two words:#REGEX /^\w+\s\w+/i" /></p>
<p><label accesskey="e" for="email">Your Email Address
</label> <input type="text" name="email" size="40" maxlength="40" eform="Your Email Address:email:1" /></p>
<p><label accesskey="s" for="department">Subject
</label>
<p><label accesskey="c" for="comments">Comments
</label> <textarea cols="40" rows="10" name="comments" eform="Comments:html:1"></textarea></p>
Please enter the anti spam code below:
<br /> <img src="[+verimageurl+]" alt="verification code" border="1"/> <input type="text" name="vericode" size="20" />
<p><input type="submit" name="submit" value="Send Feedback"></p>
Report this snippet