We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29493
    • 5 Posts
    When I submit any eForm page, the input boxes clear and nothing happens. It doesn’t forward to a confirmation page, and I don’t get any emails. Any suggestions?

    -Running Windows 2003 w/ IIS.
    -The server’s mail() function works and can successfully send a message.
    -Using sample ContactForm tpl, ContactForm Report tpl, and eForm snippet call from http://wiki.modxcms.com/index.php/EForm
    eForm Document Snippet Call:
    [!eForm? &formid=`ContactForm` &from=`(**[email protected]**)` &subject=`[+subject+]` &to=`(**[email protected]**)` 
    &ccsender=`1` &tpl=`ContactForm` &report=`ContactFormReport` &gotoid=`1`  !]

    ContactForm chunk:
    <p class="error">[+validationmessage+]</p>
     
    <form method="post" action="[~[*id*]~]" id="ContactForm">
     
    	<fieldset>
    		<h3> Contact Us</h3>
     
    		<input name="formid" type="hidden" value="ContactForm" />
     
    		<label for="cfName">Your name:
    		<p><input name="name" id="cfName" class="text" type="text" eform="Your Name::1:" /></p></label>
     
    		<label for="cfEmail">Your Email Address:
    		<p><input name="email" id="cfEmail" class="text" type="text" eform="Email Address:email:1" /></p> </label>
     
    		<label for="cfRegarding">Regarding:
    		<p><input name="subject" id="cfRegarding" class="text" type="text" eform="Form Subject::1" /></p> </label>
     
    		<label for="cfMessage">Message:
    		<p><textarea name="message" id="cfMessage" eform="Message:textarea:1"></textarea></p>
    		</label>
     
    		<label> </label><p><input type="submit" name="contact" id="cfContact" class="button" value="Send This Message" /></p>
     
    	</fieldset>
     
    </form>

    ContactFormReport tpl:
    <p>This is a response sent by <b>[+name+]</b> using the feedback form on this website. The details of the message follow below:</p>
     
    <p>Name: [+name+]</p>
    <p>Email: [+email+]</p>
    <p>Regarding: [+subject+]</p>
    <p>Comments:<br />[+message+]</p>
     
    <p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE: [+subject+]">[+email+]</a></p>
      • 3647
      • 177 Posts
      OK, may be a misfire and I realise you are changing the data but why

      `(**[email protected]**)`

      and not

      `[email protected]`



        • 29493
        • 5 Posts
        Yeah I just changed while posting...
          • 29493
          • 5 Posts
          Still having an issue with this. eForms doesn’t work at all...
            • 29493
            • 5 Posts
            Fixed: I got so frustrated I just wrote my own PHP Snippet to send emails.