Thank you for both your replies. I am definitely only in need of a simple validation, nothing advanced. I checked to make sure my code included validation for required fields, (ie: eform="Name::1") and it does, so I’m still stumped as to what I’m doing wrong. This may be one of those annoying moments where it’s something idiotically simple, I’m not sure.
I’m including how I have everything set up in the manager. Below is my snippet and chunk names and below that is the code from the e"FeedbackForm" itself. If anyone spots anything out of sorts, I would greatly appreciate your feedback. I can then stop pulling my hair out...
Snippet:
The original "eForm" snippet
Chunks:
eFeedbackForm - A feedback form using the eForm snippet
eFeedBackThanks - This is the thank you page the customer sees after sending an email via the Contact form on the Website
eFormEmailFeedbackReport - This content is included in the body of the email sent to client from the contact form on the Website
ContactForm - This is the contact form on the contact page (Chunk being called in on contact page document)
The "eFeedbackForm" code:
<p><span style="color:#900;">[+validationmessage+]</span></p>
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="feedbackForm" />
<p><label accesskey="n" for="Name">Your Name</label>
<input type="text" name="Name" maxlength="60" eForm="Your Name::1:Expected at least two words:#REGEX /\w+\b\w{2,}/i" /></p>
<p><label accesskey="e" for="email">Your Email Address</label>
<input type="text" name="email" size="40" maxlength="40" eForm="Your Email Address:email:1" /></p>
<p><label accesskey="s" for="department">Subject</label>
<select name="department">
<option value="1">Website Feedback</option>
<option value="2">Question Regarding a Product</option>
<option value="3">General Email</option>
</select></p>
<p><label accesskey="c" for="comments">Comments</label>
<textarea cols="40" rows="10" name="comments" eform="Comments:html:1"></textarea></p>
<p><input type="submit" name="submit" value="Send Feedback"></p>
</form>