#70095EXT:form - Wrong Checkbox and Radiobutton handling
Description
The Checkboxes and the Radiobuttons need a value at sending. If there are no values
i can not remap the data after submit / validation. To avoid this i set the values to
{$elementName}-{$elementCounter} if there are no value argument is available.
Affected Parts:
** form/Resources/Private/Partials/Compatibility/Confirmation/FlatElements/Checkbox.html
** form/Resources/Private/Partials/Compatibility/Confirmation/FlatElements/Radio.html
** form/Resources/Private/Partials/Compatibility/Show/FlatElements/Checkbox.html
** form/Resources/Private/Partials/Compatibility/Show/FlatElements/Radio.html
** form/Resources/Private/Partials/Default/Show/FlatElements/Checkbox.html
** form/Resources/Private/Partials/Default/Show/FlatElements/Radio.html
** form/Resources/Private/Partials/Default/Confirmation/FlatElements/Checkbox.html
** form/Resources/Private/Partials/Default/Confirmation/FlatElements/Radio.html
* TYPO3\CMS\Form\Hooks\HandleIncomingFormValues
** the $modelValue is the value that is defined by typoscript. If the incoming date not match this value i look if the incomming data is {$elementName}-{$elementCounter}
Test:
Make a radio and / or checkboxes and give them no value (the wizard write this elements without)
If a validation fails, the checkboxes and radios must keep the checked state.
If you go to the confirmation, the labels of the checked elements must be shown.
If you go back to the form, the checkboxes and radios must keep the checked state.
If you send the mail, the mail must contain the labels of the checked elements.