We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10226
    • 412 Posts
    I finally got around to reformatting my contact form, and I was almost done, but now it doesn’t work!

    Some errors were detected in your form:
    The following required field(s) are missing: Comments
    Invalid verification code.

    Comments is populated and the vericode is correct.

    Looking at the wiki, it appears to be very simple, but my previous chunk had accesskey and name but no id fields, this is where I went wrong I guess, but it looks like they can be anything as long as the appropriate eform= is in there?

    This is my eFeedbackform chunk...

    <h1>Drop Us a Line!</h1>
    [+validationmessage+]
    <br/>
    
          <form class="contact" method="post" action="[~[*id*]~]" style="display: block;">
    <fieldset>        
    <input type="hidden" name="formid" value="feedbackForm" />
           	
      <legend>Contact Us</legend>
      <ol>
        <li>
          <label for="Name">Name</label>
              <input id="Name" type="text" size="60" maxlength="60" eform="Your Name::1" />
            </li>
            <li>
              <label for="email">Email Address</label>
              <input id="email" type="text" size="60" maxlength="40" eform="Your Email Address:email:1" />
            </li>
    		<li>
              <label for="_msg">Your Message</label>
              <textarea cols="60" rows="12" id="_msg" eform="Comments:html:1"></textarea>
              </li>
              <li>
              <label for="department">Select Topic</label>
              <select id="department">
                <option value="1">General</option>
                <option value="2">All Sales</option>
                <option value="3">Webmaster</option>
                </select>
    			</li>
    		<li>
    
              <label for="_code">Anti-Spam Code</label>
    </li><li>
              <img src="[+verimageurl+]" alt="verification code" />
              <input id="_code" type="text" size="8" />
    
    </li><li>
              <input type="submit" name="submit" value="Submit" />
    		</li>
            	</ol>
                </fieldset>
        </form>
      • 10226
      • 412 Posts
      All fixed up!

      The name field for the label is required. I am still rather confused how the name and id fields relate to the eform tag.

      Thanks!