Issue Bug Closed

#31951Own checkbox layout breaks HTML mail

Michael Feinbier 11/20/11, 13:02 updated 10/02/18, 12:19

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>

Reviews 1