Buy Now
Sign in

FAQ search

Is there a limit on the number of inputs?

Details
Published: Monday, 30 November -0001 00:00

There is no built in limit on the number of inputs or actions that you can have in a ChronoForm.

If you are finding that you can't add any more then you are probably hitting a limit that is set on your server.

Please check these:

  1. If your php.ini file has a setting for max_input_vars
  2. If suhosin is installed
  3. If mod_security is installed.

If max_input_vars is set it needs to be at least 1000 and possibly 2,000 or 3,000 or more if you use large forms.

If suhosin is running then these three settings need to be at least 1,000 and possibly 2,000 or 3,000 or more if you use large forms:

suhosin.get.max_vars
suhosin.post.max_vars
suhosin.request.max_vars

Finding the PHP settings

To see the current PHP settings on your site go to Site Admin | System Information | PHP Info. Near the top of the page you can see which PHP.ini files are being read (there may be more that one); and by searching down the page (use Ctrl+F) you can find any specific PHP setting. 

Changing PHP.ini settings is usually possible but different web hosts have different ways of setting PHP up so it is best to check with their documentation. 

On Hostgator you can update max_input_vars in a local php.ini file see this help article for more info.