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>