Forums

Captcha tells me my verification code is wrong

sethpenley 18 Aug, 2011
I am definitely new to ChronoForms, so I am sure that there must be something simple I am not doing. I tried to create a simple test form just to see if it was working. Everything appears correctly, but when I enter the Captcha in correctly, It tells me "You have entered a wrong verification code!" Every time. I uninstalled and reinstalled and still no luck. I am running v4. Would love to know any thoughts. I compared it with a friend's form who is running identical fields, and his is working fine. Thanks.
GreyHead 18 Aug, 2011
Hi sethpenley,

There are three components to the Captcha check in ChronoForms v4:

[list=a]
  • The Captcha Input Element to display the check in the form

  • The Load Captcha action in the On Load event to set up the captcha

  • The Check Captcha action early in the On Submit to check the captcha. This should have an Event Loop action in the pink On Fail event (set to the default On Load Target Event) and nothing in the On Success event.
  • [/list:o]

    From your decription it could be that you have the Event Loop action in the On Success event instead of the On Fail event. Is that possible?

    If not, Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

    Bob
    JMennecart 20 Aug, 2011
    [attachment=0]CFV4_FormsBackup.rar[/attachment]
    Hi sethpenley, hi Bob,

    I also try to implement the captcha verification without success.
    The verification always fails !

    I have followed all your instructions a, b and c Bob, and the Event Loop is in the pink part (OnFail).

    I attach the backup, you can have a look on it.

    Thanks for your help
    Jose
    GreyHead 21 Aug, 2011
    Hi Jose,

    It looks as though you have changed the name of the Captcha input from 'chrono_verification' to 'verification' so not ChronoForms doesn't recognise the result.

    Bob
    JMennecart 21 Aug, 2011
    Ooops... 😶

    I forgot that modification I made.
    I was focused on load & check only.

    I'll try immedialy and comme back to you with de result.
    Thanks

    Jose
    JMennecart 21 Aug, 2011
    Hi Bob,

    It's me again... I now, it works (with the correction of my bullshit) :? .
    Many thanks Bob.

    I have nevertheless an other question about bad verification.
    When the forms is reloaded, the adresse email ([email]name@domain.com[/email]) is replaced by :
    <script language='JavaScript' type='text/javascript'> <!-- var prefix = 'mailto:'; var suffix = ''; var attribs = ''; var path = 'hr' + 'ef' + '='; var addy94748 = 'name' + '@'; addy94748 = addy94748 + 'domain' + '.' + 'com'; document.write( '<a ' + path + '\'' + prefix + addy94748 + suffix + '\'' + attribs + '>' ); document.write( addy94748 ); document.write( '<\/a>' ); //--> </script><script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none;\'>' ); //--> </script>Cette adresse email est protégée contre les robots des spammeurs, vous devez activer Javascript pour la voir. <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script>

    [attachment=0]BadCaptcha.jpg[/attachment]

    Normal ?
    GreyHead 21 Aug, 2011
    Hi Jose,

    You have the Joomla! Email Cloaking Plug-in enabled and it is trying to cloak the sample e-mail in the ChronoForms validation message. Disable the plug-in temporarily to check this is the problem. If you need the plug-in change the plug-ins order so that Email Cloaking runs before ChronoForms.

    NB These are Joomla! plug-ins that you manage from Site Admin | Extensions | Plug-in Manager

    Bob
    JMennecart 21 Aug, 2011
    Once angain, you help me saving lot of time. 😀

    Many thanks for your answer Bob.
    Jose
    This topic is locked and no more replies can be posted.

    VPS & Email Hosting 20% discount
    hostinger