We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31601
    • 57 Posts
    As others have posted, I’m not able to get any output from eform: no errors, no messages sent. Form fields just clear.

    Here we go:

    template:

    [+validationmessage+]
    <form method="post" action="[~[*id*]~]" id="EmailForm">
     
    	<fieldset>
     
    		<input name="formid" type="hidden" value="mailform" />
                     <div id="formLeft">
    		<label for="cfName">Votre nom</label>
    		<p><input name="name" id="cfName" class="text" type="text" eform="Your Name::1:" /></p>
                     <label for="cfEmail">Addresse courriel</label>
    		<p><input name="email" id="cfEmail" class="text" type="text" eform="Email Address:email:1" /></p>
                    </div>
                     <div id="formRight">
                      <label for="cfMessage">Votre message</label>
    		<p><textarea name="message" id="cfMessage" eform="Message:comments:1"></textarea></p>
                    </div>
     		<div id="formCenter">
                    <input type="submit" name="contact" id="cfContact" class="button" value="Envoyer votre message" />
                    </div>
             </fieldset>
     
    </form>


    report:

    <p>Cet courriel est un reponse d'un client potentiel qui a visité le site de Construction Pathi.  Les details suivre:</p>
    <table>
    <tr valign="top"><td>Name:</td><td>[+name+]</td></tr>
    <tr valign="top"><td>Email:</td><td>[+email+]</td></tr>
    <tr valign="top"><td>comments:</td><td>[+comments+]</td></tr>
    </table>


    snippet call:

    [!eForm? &tpl=`contactForm` &formid=`EmailForm` &to=`[email protected]` &report=`contactMessage`!]


    Feel like an idiot, I’ve only built 3 complex sites in the last 6 months w/ Modx, and this has me stumped!

    Any help is GREATLY appreciated.
      • 4310
      • 2,310 Posts
      &formid=`EmailForm`
      <input name="formid" type="hidden" value="mailform" />
      rolleyes wink
        • 31601
        • 57 Posts
        Fixed- moved the bloody ID to the hidden field. My bad.
          • 4310
          • 2,310 Posts
          We’ve all done it.
          Well I have, several times laugh