Project

General

Profile

Actions

Bug #77344

closed

EXT:form - global layout for confirmation view colides with confirmation = 1

Added by Björn Jacob over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2016-08-02
Due date:
% Done:

100%

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

Description

Checkout the following form. confirmation = 1 defines to show the confirmation view. The next few lines define a global layout change for the checkbox element on the confirmation view. This leads to a naming conflict resulting that the confirmation view is not shown. Right now the code checks for confirmation === 1.


enctype = multipart/form-data
method = post
prefix = tx_form

form {
  layout {
    checkbox = <label /><div><input /></div>
  }
}

confirmation = 1
confirmation {
  layout {
    checkbox (
    <label /><div><inputvalue /></div>
    )
  }
}

postProcessor {
  layout {
    checkbox = <td colspan="2"><div><inputvalue /></div></td>
  }
}

postProcessor {
    1 = mail
    1 {
        recipientEmail = test@example.com
        senderEmail = test@example.com
        subject = Test
    }
}
10 = CHECKBOX
10 {
    type = checkbox
    name = contact_checkbox
    value = Check value.
    label {
        value = Check label?
    }
}
20 = SUBMIT
20 {
    type = submit
    name = 3
    value = Send
}


Related issues 1 (0 open1 closed)

Blocks TYPO3 Core - Bug #76823: EXT:form - checkboxes are missing in html mailsClosed2016-06-28

Actions
Actions

Also available in: Atom PDF