We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18862
    • 70 Posts
    Sorry, I asked that question without thinking it through. I just used firebug to change the css settings to bring the input box back into view and filled it in.

    However, I have found that my eform submission does not work with the eFormOnValidate parameter (with or without filling in the dummy last_name field.

    After hitting the submit button it shows the same url I hit submit from and displays a white blank screen. No error messages.

    Here is the pertinent information:

    In the form template I have

    <input name="last_name" id="cflname" class="eform_input" type="text" eform="last_name::0:" />


    for the dummy field.

    Here is my eform call
    [!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[email protected]` &tpl=`ContactForm` &report=`ContactFormReport` &thankyou=`ContactThanks` &cssStyle=`ContactStyles` &eFormOnValidate=`eCheckField`!]


    And here is my eCheckField Snippet

    <?php
    function checkField(&$fields,&$vMsg,&$rMsg) {
        if(!empty($fields['last_name'])) {
            return false;
        } else {
        return true;
        }
    }
    ?>


    Can anyone see something I’m doing wrong?
      • 20349 ☆ A M B ☆
      • 453 Posts
      Quote from: warmbeat at Apr 03, 2009, 05:25 PM

      Need some help trying to get these forms working if possible! Been having a nightmare trying to get Vericode to work and can’t seem to find a solution anywhere.

      The problem is:
      I keep on getting "Invalid verification code" when posting my form. The Captcha code I enter is always correct.


      I don’t know if this is solved, but I just meet with this issue...

      and if anyone helps... I found the solution, so check it just to be sure...

      Write your captcha words with no spaces!!! smiley

      good example:
      word1,word2,word3,word4,etc

      bad example:
      word1, word2, word3, word4, etc



      I know it is a stupid error, but it just gave me 2 hour headache trying to figure it out what is happening... rolleyes
        BASE - Web Design Studio
        MODX Ambassador

        Website
        • 13373
        • 70 Posts
        I’ve been pulling hair out wondering why the verification isn’t working, and stumbled across this thread.

        After reading the last post, I thought "surely it can’t be that simple" - but guess what... IT IS!!!

        Damn spaces in the Captcha words field!!

        This appears to have only happened after upgrading from 0.9.6 to 1.0.4, so somewhere along the line, eForm is being stricter with those, or spaces are being injected into the Captcha data.

        THANK you Mproject - great catch!

        Cheers
        Jacob