Project

General

Profile

Actions

Bug #70095

closed

Epic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form

Bug #69957: EXT:form - Fix some problems with Container elements

EXT:form - Wrong Checkbox and Radiobutton handling

Added by Ralf Zimmermann over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2015-09-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

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.


Files

ext_form_70095.png (20.3 KB) ext_form_70095.png Björn Jacob, 2015-09-28 13:27

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #70122: EXT:form - Dropdown/Selectbox doesn't work in compatibility modeClosed2015-09-25

Actions
Related to TYPO3 Core - Bug #70208: EXT:form - Problems with radiogroup in emailClosed2015-09-30

Actions
Actions

Also available in: Atom PDF