It still doesn’t work. Just to summarize:
1. my snippet calls are is:
[!checkField!]
[!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[email protected]` &ccsender=`1` &vericode=`0` &tpl=`ContactForm` &report=`ContactFormReport` &eformOnValidate=`checkField` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &gotoid=`46`!]
check field snippet is :
<?php
function checkField(&$fields,&$vMsg,&$rMsg) {
if(!empty($fields['Last__Name'])) {
$rMsg[] = '<br>Unable to send message due to tear in fabric of universe';
}
return true;
}
?>
eform chunk is:
<p class="error">[+validationmessage+]</p>
<form method="post" action="[~[*id*]~]" name="ContactForm">
<div class="span-24 clearfix">
<input name="formid" type="hidden" value="ContactForm" />
<div class="span-12">
<p>all fields are required</p>
<p><label for="cfName">your name:</label>
<input name="name" id="cfName" type="text" eform="Your Name::1:" /></p>
<p><label for="cfPhone">phone:</label>
<input " name="phone" id="cfPhone" type="text" eform="Your Phone::0:" /></p>
<input style="display: none" type="text" name="Last__Name" id="LastName" size=30 autocomplete="off" eform="LastName::0" />
<p><label for="cfEmail">email:</label>
<input name="email" id="cfEmail" type="text" eform="Your Email::1:" /></p>
<p><label for="cfDay">your message: </label>
<textarea name="day" id="cfDay" rows="4" cols="20" eform="Your day:textarea:1" ></textarea></p>
<p><label> </label>
<input type="image" id="cfContact" src="assets/images/submit.jpg" alt="Submit Form" value="submit"> </p> </div>
<div class="span-8 push-1 contactBlurb">
<h4> Get in Touch with us!</h4>
<p> We’d love to hear from you<br /></p> <br /><br /><br /></p>
</div>
<input name="subject" type="hidden" value="Website Contact Form" />
</div>
</form>
Any ideas?
you can see page at :
http://www.nantuckettriathlonclub.org/contact-us.html
currently a blank screen.
DOH!
-Noah