We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21671
    • 244 Posts
    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



      • 16278
      • 928 Posts
      I looked at it a few minutes ago: blank screen. I was looking back at the thread, and thinking "looks like a PHP error, maybe a corrupt eForm file?". Then I came to the page again: and there is your form. Did you fix it? Can I join (for test purposes only, naturally?
      laugh KP
        • 21671
        • 244 Posts
        Hi There,

        I got rid of the checkField snippet and it works well with Vericode. I am a bit stumped though as it works on other sites I have running. I wonder what it could be...
        I love the hidden field idea though. I wish it worked. Maybe someone has any ideas. I am running evo 1.05 had page uncached. Both snippet calls were uncached...

        Grrrr.

        Noah