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 #1

Updated by Samuel Heinz over 7 years ago

Sry, obviously this:

{model.additionalArguments.value}

<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>{model.additionalArguments.value}</td>
</tr>
</f:if>
</f:if>
Actions #2

Updated by Wouter Wolters over 7 years ago

  • Status changed from New to Needs Feedback
  • Assignee deleted (Gianluigi Martino)
Actions #3

Updated by Samuel Heinz over 7 years ago

I'm using the current 7.6.10.
Thx for the link with the fixed version, so I will patch the files until the release of 7.6.11

Actions #4

Updated by Wouter Wolters over 7 years ago

  • Status changed from Needs Feedback to Closed

Ah sorry did not check myself if this was released already. Will indeed be part of the next 7.6 release and therefor I'm closing this ticket.

Actions #5

Updated by Björn Jacob over 7 years ago

  • Category set to Form Framework
Actions

Also available in: Atom PDF