Actions
Bug #77344
closedEXT:form - global layout for confirmation view colides with confirmation = 1
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 }
Actions