.. include:: /Includes.rst.txt
==========================
TYPO3 Exception 1255072832
==========================
.. include:: /If-you-encounter-this-exception.rst.txt
The form field "[items][][]" is invalid.
========================================
**The form field "[items][][]" is invalid. Reason: "[]" used not as last
argument, but somewhere in the middle (like foo[][bar]).**
The value of "**name**" is missing in the form field.
For example at the selecting field:
::
The error also occurs having a Fluid template like
::
When you select a checkbox and submit the from, you will receive the
error message.
**Solution:** Adding a counter/id in the brackets of the name attribute
solves the problem:
::
.
Since in the form.checkbox documentation the examples are given with
empty brackets, I consider this a bug.1
**Better solution (since TYPO3 7):** Do not add yourself [] to the
name of the checkbox. Simply add multiple="1" and Fluid will adds
automatically the [] to all the checkbox of the group.
::