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 }
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43707
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43707
Updated by Ralf Zimmermann about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4fc92699aeae1f209e8c12d1c9b38a04e00f997d.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Actions