Support » Plugin: Slider CAPTCHA » Dont work my search

  • Resolved OniX777

    (@onix777)


    I put a captcha before button “submit” in my search form using:

    if(function_exists(‘slider_captcha’))
    slider_captcha();

    Button “submit” is locked until a CAPTCHA is not unlocked, that’s all good.

    But after I enter a query in my search form, unblock captcha and press submit button, then my query seeks nothing.

    In the query string appear captcha parameters, probably why my search did not give anything.

    How to solve this problem?

    https://wordpress.org/plugins/slider-captcha/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Henrique Mouta

    (@vaurdan)

    Hey there,
    We are going to look at your problem and think out of a solution 🙂

    Thanks for using Slider CAPTCHA,
    Henrique

    Plugin Author Henrique Mouta

    (@vaurdan)

    Hey!
    We are not going to support the Search field to Slider CAPTCHA. The main reason is that the search is a GET Query param, so it is easy to bypass the captcha.

    Yet, if you really want to use the Slider on the search, use this code (this will disable the high validation method):

    if(function_exists('slider_captcha'))
    	slider_captcha( 'search', 'p', array( 'events' => array( 'validateOnServer' => 0, 'highValidationOnServer' => 0 ) ) );

    Hopefully, this will prevent the search query string to be polluted with useless validation queries.

    Henrique

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dont work my search’ is closed to new replies.