Bug #76823
closedEXT:form - checkboxes are missing in html mails
0%
Description
Hello,
Form by default is in mode "Compatibility", not "Default".
In this mode checked checkboxes are not printed in the html email.
The tr is there, but neither label nor value.
Reason: The template (/typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Html/FlatElements/Checkbox.html) just contains the condition and the wrap (for the tr), but nothing printable.
TYPO3 is 7.6.9.
Files
Updated by André Spindler over 8 years ago
- File checkbox.patch checkbox.patch added
Patch file attached.
Includes the Label of the checkbox for compatibility mode to have the same behaviour as for default mode (instead of printing the value).
Updated by Björn Jacob over 8 years ago
- Status changed from Closed to New
I was wrong. This patch is only valid for v7. In v8 we've removed the compat layer.
Updated by Björn Jacob over 8 years ago
- Status changed from New to In Progress
- Assignee set to Björn Jacob
- Sprint Focus set to On Location Sprint
Updated by Björn Jacob over 8 years ago
- Status changed from In Progress to Needs Feedback
- Assignee changed from Björn Jacob to André Spindler
- Target version deleted (
next-patchlevel) - Sprint Focus deleted (
On Location Sprint)
After some other patches and further investigation I think we do not have to do anything here. We have tested the rendering of CHECKBOX and RADIO elements. It works as expected and behaves like v6.2. In 6.2 only the label was added to mail template. This works in 7.6 as well. Did you do any customization of the templates? Can you please add your configuration to this issue?
Since the compatibility mode has been removed in v8 we do not want to change the behaviour of v7 in comparison to v6. If you want a better/ predictable and styleable solution, switch to the new mode which uses the default templates and not the one from compatibility.
Updated by Riccardo De Contardi about 8 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
André Spindler)
Closed after feedback from the reporter.