Answer the question
In order to leave comments, you need to log in
Why is part of the $_POST array truncated when submitting the form?
Hello colleagues!
There is a form with a large number of fields (50+) and two submit buttons:
<form name="form" enctype="multipart/form-data" method="post" action="...">
<button type="submit" name="submit">Сохранить</button>
<button type="submit" name="submit_enabled">Включить</button>
...поля...
</form>
Answer the question
In order to leave comments, you need to log in
I don’t know what the problem is, but I know how I would look - I would try my best to achieve repeatability.
sometimes (!) come to full data- so you won't find anything.
You need to check what is sent to the server in the developer console in the browser. Perhaps the problem is in the layout of the form with a large number of fields.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question