there is no attribute "name" <form method="post" action="contact.html" id="EmailForm" name="EmailForm">
there is no attribute "border" …ger/includes/veriword.php?rand=1224069188" alt="verification code" border="1"/>
document type does not allow element "form" here; missing one of "object", "ins", "del", "map" start-tag
<form id="ContactForm" method="post" action="contact.html"></p>
Note! In the above template we use a hidden field for the formid: <input type="hidden" name="formid" value="feedbackForm" /> If you are using eForm 1.4+ you can instead use the id attribute of the form tag itself and leave out the hidden field: <form id="feedbackForm" method="post" action="[~[*id*]~]">. Either way will work
<p class="error">[+validationmessage+]</p> <form id="ContactForm" method="post" action="[~[*id*]~]"> <fieldset class="login"> <legend>Uw gegevens</legend> <div> <label for="cfName">Volledige naam:</label> <input type="text" name="name" eform="Your Name::1:Expected at least two words:#REGEX /^\w+\s\w+/i" /> </div> <div> <label for="cfEmail">Email Address:</label> <input name="email" id="cfEmail" class="email" type="text" eform="Email Address:email:1" /> </div> </fieldset> <fieldset class="login"> <legend>Uw Bericht</legend> <div> <label for="cfMessage">Type hier:</label> <textarea name="message" id="cfMessage" class="textarea" rows="3" cols="20" eform="Message:textarea:1"></textarea> </div> </fieldset> <fieldset class="login"> <legend> Vul de code in svp:</legend> <div> <img src="[+verimageurl+]" alt="verification code" border="1"/> </div> <div> <label accesskey="c" for="vericode">code</label> <input type="text" class="textarea" name="vericode" size="20" /><br/> <label><input type="submit" name="contact" id="cfContact" class="submit-go" value="Send" /></label> </div> </fieldset> </form>
<form id="ContactForm" method="post" action="[~[*id*]~]">
without the [+validationmessage+], I dont get a message about the form validation errors.
eForm automatically adds the hidden input so you don’t have to. So this is normal behavior.
Also, however I use this form code:
<form id="ContactForm" method="post" action="[~[*id*]~]">
That returns this:
<input type="hidden" name="formid" value="ContactForm" /></form></div>
And does not validate, where does the input type come from?
$tpl = str_replace('</form>',"<input type=\"hidden\" name=\"formid\" value=\"$form_id\" /></form>",$tpl);
$tpl = str_replace('</form>',"<fieldset><input type=\"hidden\" name=\"formid\" value=\"$form_id\" /></form></fieldset>",$tpl);

$tpl = str_replace('</form>',"<input type=\"hidden\" name=\"formid\" value=\"$form_id\" /></form>",$tpl);//insert hidden formid field
$tpl = str_replace('</form>',"<fieldset><input type=\"hidden\" name=\"formid\" value=\"$form_id\" /></fieldset></form>",$tpl);
}