Ok, bear with me please, I am a "publisher" account in our modx manager, however have access to most things. I am having difficulty getting eforms to work. I will provide my non working code, followed by 2 working codes. The only difference is the "admin" account when saving the forms makes them work, but my publisher account doesn’t, we are trying to figure out why.
Non-Working
Form
[+validationmessage+]
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="volunteerForm" />
<ul class="comment-form">
<li><input type="text" name="name" id="name" title="Your Name" eform="Your Name::1:Expected at least two words:#REGEX /^\w+\s\w+/i" /></li>
<li><input type="text" name="email" id="email" title="Your E-mail" eform="Your Email Address:email:1" /></li>
<li><input type="text" name="phone" id="phone" title="Phone Number" /></li>
<li class="comment-area"><textarea name="content" id="content" cols="50" rows="9" title="Let us now how you feel you can help!" eform="content:html:1" /></textarea></li>
</ul>
<input type="submit" name="submit" value="Send Information">
</form>
Form Output
[[eForm? &formid=`volunteerForm` &to=`[email protected]` &tpl=`volunteerForm` &report=`volunteerFormReport` &gotoid=`89` &subject=`Volunteer!`]]
Form Report
<p>This is a story sent by [+name+] from the I want to volunteer page.</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>Phone:</td><td>[+phone+]</td></tr>
<tr valign="top"><td>Comments:</td><td>[+content+]</td></tr>
</table>
<p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE:[+subject+]">[+email+]</a></p>
Non Working form link ->
http://pfjrfoundation.org/multiple-sclerosis/volunteer/join-us.php
Working Form 1
[+validationmessage+]
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="contactForm" />
<ul class="comment-form">
<li><input type="text" name="name" id="name" title="Your Name" eform="Your Name::1:Expected at least two words:#REGEX /^\w+\s\w+/i" /></li>
<li><input type="text" name="email" id="email" title="Your E-mail" eform="Your Email Address:email:1" /></li>
<li><input type="text" name="phone" id="phone" title="Phone Number" /></li>
<li class="comment-area"><textarea name="content" id="content" cols="50" rows="9" title="Tell Us About Your Story" eform="content:html:1" /></textarea></li>
</ul>
<input type="submit" name="submit" value="Send Story">
</form>
Output
[[eForm? &formid=`contactForm` &to=`[email protected]` &tpl=`contactForm` &report=`contactFormReport` &gotoid=`69` &subject=`Someone Sent a Story!`]]
Report
<p>This is a story sent by [+name+] from the I Have a Story to Share page.</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>Phone:</td><td>[+phone+]</td></tr>
<tr valign="top"><td>Comments:</td><td>[+content+]</td></tr>
</table>
<p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE:[+subject+]">[+email+]</a></p>
Working form 1 link ->
http://pfjrfoundation.org/multiple-sclerosis/stories/submit-story.php
Working form 2
[+validationmessage+]
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="mcContact" />
<ul class="comment-form">
<li><input type="text" name="name" id="name" title="Your Name" eform="Your Name::1:Expected at least two words:#REGEX /^\w+\s\w+/i" /></li>
<li><input type="text" name="email" id="email" title="Your E-mail" eform="Your Email Address:email:1" /></li>
<li><input type="text" name="phone" id="phone" title="Phone Number" /></li>
<li class="comment-area"><textarea name="content" id="content" cols="50" rows="9" title="Send us a Message" eform="content:html:1" /></textarea></li>
</ul>
<input type="submit" name="submit" value="Send Message">
</form>
Output
[[eForm? &formid=`mcContact` &to=`[email protected]` &tpl=`mcContact` &report=`mcContactReport` &gotoid=`89` &subject=`Summer Bash!`]]
Report
<p>This is a message sent by [+name+] from the Summer Bash contact us page.</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>Phone:</td><td>[+phone+]</td></tr>
<tr valign="top"><td>Comments:</td><td>[+content+]</td></tr>
</table>
<p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE:[+subject+]">[+email+]</a></p>
Working form 2 link ->
http://pfjrfoundation.org/multiple-sclerosis/summer-bash/summer-bash-contact.php
I’m really at a complete loss, any help would be great. Thank you.
Modx evolution