• Resolved EMooney

    (@emooney)


    Hi.
    My form works well and it catchs all of the other required fields. But when I do not fill in the captcha or fill it in wrong it is not being caught. It redirects to the same URL (but displays a 404 page) even though I have all redirects and anchor links turned off.
    Any ideas?

    https://ww.wp.xz.cn/plugins/si-contact-form/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter EMooney

    (@emooney)

    Sorry. Forgot the link.

    http://emerparnellmooney.com/wordpress/registration-form/

    I just noticed while testing it, that if I leave everything blank the first time it will catch all of the required feilds. The second time it just redirects. Does not display any of the error messages and goes to a random page.

    mbrsolution

    (@mbrsolution)

    Hi EMooney, what plugin version do you have installed? Is this the same question as in your other replies?

    Kind regards

    Thread Starter EMooney

    (@emooney)

    Hi.
    Thanks for getting back to me. It is the same issue.
    I’m not sure if it’s a problem with the redirect, or the captcha.
    I have actually changed the plugin to Version 3.1.8.1 and it seems to be working now.

    I would prefer to use the most up to date one. I can change it back to the latest version now if you would like to take a look.

    mbrsolution

    (@mbrsolution)

    Hi EMooney, are you saying that the latest version 4.0.19 does not work in your website? But version 3.1.8.1 does?

    Thread Starter EMooney

    (@emooney)

    Exactly.

    Thread Starter EMooney

    (@emooney)

    I’m using the latest version of wordpress too, and have no other plug ins except contact form DB.

    mbrsolution

    (@mbrsolution)

    What Theme are you using? Also I know some are having issues with contact form DB plugin.

    Thread Starter EMooney

    (@emooney)

    Using 2014. I’m literally just testing this form out on my own site at the moment. Once I get it set up and working perfectly I plan to move it to a clients site.

    I need to the contact form db as the contacts will need to be exported. I don’t think it is an issue with that, as when you fill out the form correctly the info is stored. It is just that it isn’t catching the captcha not being filled out, and redirects to a “Page not found” page. Even though I’ve have turned off the redirect.

    mbrsolution

    (@mbrsolution)

    I have the latest WordPress 3.9.1 and the latest form version with 17 other plugins and my contact form works well. The theme I am using is Suffusion. I have also tested this plugin on different servers in a few different host and it works great.

    Try a different theme like Twenty Thirteen, see if that works for you.

    Kind regards

    Thread Starter EMooney

    (@emooney)

    I have updated to the latest version of the plug in.
    and tested it in 2013 theme.

    I’m getting this PHP notice. Notice: Undefined index: you-must-tick-the-box-to-agree in /var/www/web/wordpress/wp-content/plugins/si-contact-form/includes/class-fscf-process.php on line 236

    and the same redirect issue. It does not recognize that the captcha has not been filled out. You can see it for yourself here.
    http://emerparnellmooney.com/wordpress/registration-form/

    mbrsolution

    (@mbrsolution)

    What PHP version are you running?

    mbrsolution

    (@mbrsolution)

    Can you create another default form with only the default fields added including the captcha field to see if that works on a different page.

    Thank you

    Thread Starter EMooney

    (@emooney)

    Ah ha.. now we’re getting somewhere. I don’t know why that hadn’t crossed my mind already. I’m going to build it back up field by field and see what was causing the problem.

    I wonder could it have been validation regex? and just a quick question about those, if I’m using them and they fail should those messages display in a similar way to the *required messages.

    Thanks for your help.

    mbrsolution

    (@mbrsolution)

    Hi the following is added by @mike Challis.

    Validation regex:
    Use a regular expression to validate if form input is in a specific format. Example: If you want numbers in a text field type but do not allow text, use this regex: /^\d+$/ Can be used for text, textarea, date and password field types.

    Regex fail message:
    Use to customize a message to alert the user when the form fails to validate a regex after post. Example: Please only enter numbers. For use with validation regex only.

    Regards

    Thread Starter EMooney

    (@emooney)

    OK thanks.
    I don’t want to annoy with questions. But I do have one more. Can you use regular expressions to prevent SQL injections, or will I have to go about it another way?

    Thanks again.

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘CAPTHCA required isn't being caught.’ is closed to new replies.