Search form max. number of fields

Forums › Forums › Search & Filter Pro › Search form max. number of fields

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #40187

    Hi there,
    I just bought your plugin, but seems that no more than 15 fields can be added to a search form.
    Do you confirm this?
    I didn’t think there was such a limit.
    Please advise.

    Thanks

    Ross Moderator
    #40193

    Hi Simone

    I believe this is to do with the PHP setting max_input_vars http://php.net/manual/en/info.configuration.php#ini.max-input-vars

    You are exceeding the maximum number of inputs in one HTML form (the edit screen is 1 big form) – as each Search & Filter field, has many options – these quickly add up – and in some servers maxes out this limitation.

    Try to find out what it is from your host, and try increasing it also.

    Thanks

    Trevor
    #40198

    You can use this plugin to discover what yours is set to:

    https://wordpress.org/plugins/system-snapshot-report/

    1000 is the PHP default and will not give you many fields before it is exceeded. This variable also restricts the maximum number menu items.

    Anonymous
    #40223

    Hi guys,
    thanks, you found the problem.
    I’ve increased the setting in .htaccess and now everything is ok.

    Thanks

Viewing 4 posts – 1 through 4 (of 4 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.