Actions
Bug #70278
closedEpic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form
EXT:form - wrong Radio / Checkbox handling if no value is set
Start date:
2015-10-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
- Submit the form below.
- Now all options are shown at the confirmation page.
- Go back to the form.
- All options and checkboxes are selected.
- This happens if there are no "value" properties are set.
handleIncomingFormValues compares the incoming data with the data from the configuration.
In this case both values are NULL and the comparison is TRUE.
Now the element is marked as selected.
prefix = tx_form confirmation = 1 postProcessor { 1 = mail 1 { recipientEmail = your@mail.com senderEmail = your@mail.com } } 10 = CHECKBOXGROUP 10 { class = fieldset-subgroup legend { value = Edit this legend } name = checkboxgroup 10 = CHECKBOX 10 { label { value = Option 1 } } 20 = CHECKBOX 20 { label { value = Option 2 } } 30 = CHECKBOX 30 { label { value = Option 3 } } } 20 = RADIOGROUP 20 { class = fieldset-subgroup legend { value = Edit this legend } name = radiogroup 10 = RADIO 10 { label { value = Option 1 } } 20 = RADIO 20 { label { value = Option 2 } } 30 = RADIO 30 { label { value = Option 3 } } } 30 = CHECKBOX 30 { name = checkbox1 label { value = Option 4 } } 40 = RADIO 40 { name = option1 label { value = Option 5 } } 50 = SUBMIT 50 { name = 6 value = Submit form }
Actions