Project

General

Profile

Actions

Bug #77527

closed

Form Mail Template Radio/Checkbox without Values

Added by Samuel Heinz over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2016-08-17
Due date:
% Done:

0%

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

Description

Example: Radio.html

<f:if condition="{model.showElement}">
<f:if condition="{model.additionalArguments.checked} == 'checked'">
<tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}">
  <td style="width: 200px;">
    <em>{model.additionalArguments.label}</em>
  </td>
</tr>
</f:if>
</f:if>

Should be:

<f:if condition="{model.showElement}">
<f:if condition="{model.additionalArguments.checked} == 'checked'">
<tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}">
  <td style="width: 200px;">
    <em>{model.additionalArguments.label}</em>
  </td>
  <td><f:if condition='{model.additionalArguments.value}'><f:then>{model.additionalArguments.value}</f:then><f:else>{model.additionalArguments.name}-{model.elementCounter}</f:else></f:if></td>
</tr>
</f:if>
</f:if>
Actions

Also available in: Atom PDF