Project

General

Profile

Actions

Bug #71106

closed

Checkbox value has consecutive number

Added by Webtech AG over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2015-10-28
Due date:
% Done:

0%

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

Description

I made some standard Mailforms with the System-Extension Form (6.2.0). If you submit this mailform, then you get a HTML-mail, which shows for every choosen checkbox a number. This number comes from the value of the checkbox. It is a consecutive number. This numer is confusing. Some see in it an amount of items.

The HTML-Code of frontend is as follows. See values of checkboes:

<ol>
    <li class="csc-form-2 csc-form-element csc-form-element-checkboxgroup">
      <fieldset class="fieldset-subgroup">
        <legend>Wählen Sie eine Farbe:</legend>
        <ol>
          <li class="csc-form-3 csc-form-element csc-form-element-checkbox">
            <label for="field-3">gelb</label>
            <input type="checkbox" value="3" name="tx_form[farbwahl][]" id="field-3">
          </li>
          <li class="csc-form-4 csc-form-element csc-form-element-checkbox">
            <label for="field-4">blau</label>
            <input type="checkbox" value="4" name="tx_form[farbwahl][]" id="field-4">
          </li>
          <li class="csc-form-5 csc-form-element csc-form-element-checkbox">
            <label for="field-5">rot</label>
            <input type="checkbox" value="5" name="tx_form[farbwahl][]" id="field-5">
          </li>
          <li class="csc-form-6 csc-form-element csc-form-element-checkbox">
            <label for="field-6">grün</label>
            <input type="checkbox" value="6" name="tx_form[farbwahl][]" id="field-6">
          </li>
        </ol>
      </fieldset>
    </li>
    <li class="csc-form-7 csc-form-element csc-form-element-checkbox">
      <label for="field-7">Abc</label>
      <input type="checkbox" value="7" name="tx_form[abc][]" id="field-7">
    </li>
    <li class="csc-form-8 csc-form-element csc-form-element-submit">
      <input type="submit" value="Submit form" name="tx_form[6]" id="field-8">
    </li>
</ol>

HTML-Mail:

Wählen Sie eine Farbe:
gelb    3
blau    4
rot    5
grün    6

Abc    7

The value of checkboxes are not necessary, then it already shows the label of checkboxes. The lable is enough.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #72308: EXT:form - form wizard does not allow setting a CHECKBOX valueClosed2015-12-18

Actions
Actions

Also available in: Atom PDF