Project

General

Profile

Actions

Bug #31951

closed

Own checkbox layout breaks HTML mail

Added by Michael Feinbier over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2011-11-20
Due date:
% Done:

100%

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

Description

Hey,

I configured a form with 2 Checkbox groups. In the example shown on the screens below I only checked item 1 and item 3 of the first Checkgroup.
This is fine so far.

But if I try to rewrite the layout for checkboxes via

checkbox (
            <input />
            <label />
        )

The HTML part of the sent mail breaks totally. It seems, that the <input /> isn't replaced with an empty string or what else. The two screenshots show the correct rendering and the wrong rendering with own checkbox layout. Both form had the same state (item1 and item3 as explained above)

The HTML of the mail in the broken example is as follows (excerpt):

<table cellspacing=3D"0">

      <tbody>
        <tr>
     =
     <td colspan=3D"2">
            <table cellspacing=3D"0" style=3D"=
padding-left: 20px; margin-bottom: 20px;">
              <thead>=

                <tr>
                  <th colspan=3D"2" alig=
n=3D"left">Ich interessiere mich f=C3=BCr</th>
                </tr>=

              </thead>
              <tbody>
           =
     <tr>
                  <input/>
                  <em>item1=
</em>
                </tr>
                <tr>
         =
         <input/>
                  <em>item2</em>
             =
   </tr>
                <tr>
                  <input/>
   =
               <em>item3</em>
                </tr>
             =
 </tbody>
            </table>
          </td>


Files

forms-checkbox-working.png (48.7 KB) forms-checkbox-working.png Working HTML Mail Michael Feinbier, 2011-11-20 13:02
forms-checkbox-broken.png (70.5 KB) forms-checkbox-broken.png Broken HTML rendering with own checkbox layout Michael Feinbier, 2011-11-20 13:02
broken_form.jpg (15.7 KB) broken_form.jpg Toni no-lastname-given, 2014-05-06 13:39
form_using_different_layouts.diff (6.54 KB) form_using_different_layouts.diff Cornel Boppart, 2014-05-28 08:08

Related issues 10 (0 open10 closed)

Related to TYPO3 Core - Bug #32463: New Form ext throws error on missing wrapsClosed2011-12-12

Actions
Related to TYPO3 Core - Bug #37349: Layout change modifies email outputClosed2012-05-21

Actions
Related to TYPO3 Core - Bug #39138: sysEXT:form checkbox send as input field in EMailClosedPatrick Broens2012-07-20

Actions
Related to TYPO3 Core - Bug #58598: tx_form breaks on custom labelClosed2014-05-07

Actions
Related to TYPO3 Core - Bug #45606: Forms: Mail-Layout destroyedClosed2013-02-19

Actions
Related to TYPO3 Core - Bug #42500: Sysext form output not adjustable via ts in 4.7.5Closed2012-10-29

Actions
Related to TYPO3 Core - Bug #60995: tx_form PostProcessor - wrong layout handlingClosed2014-08-15

Actions
Related to TYPO3 Core - Bug #70086: EXT:form - Bring back view specific layout settingsClosedRalf Zimmermann2015-09-24

Actions
Has duplicate TYPO3 Core - Bug #57830: Mailform Closed2014-04-11

Actions
Precedes TYPO3 Core - Bug #59549: Broken tests due to modified PostProcessor constructorClosed2014-06-13

Actions
Actions

Also available in: Atom PDF