Add a max_input_vars helper

Created on 18 September 2019, about 5 years ago
Updated 7 October 2024, about 2 months ago

If the number of form input elements on a Drupal form exceeds the max_input_vars PHP settings, then this can result in broken form submissions and an inability to debug what is actually wrong since the error message displayed is about a file upload limit exceeded, even if the form doesn't have anything to deal with an uploaded file.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    This is a great idea, I think it should rather be a core issue?
    And the check should probably happen, if the number of submitted values exactly equals max_input_vars (as I think the rest won't be submitted?)

Production build 0.71.5 2024