diff --git a/typo3/sysext/form/Classes/Controller/Form.php b/typo3/sysext/form/Classes/Controller/Form.php index f482111077927c8cde3c8b9271cddf2e9c74a78c..2d2bbf24e87bc88dc727c3c875adde07b8f12b58 100644 --- a/typo3/sysext/form/Classes/Controller/Form.php +++ b/typo3/sysext/form/Classes/Controller/Form.php @@ -196,7 +196,7 @@ class tx_form_Controller_Form { ( !empty($submittedByPrefix) && $this->validate->isValid() && - $this->requestHandler->getPost('confirmation') === $this->localizationHandler->getLocalLanguageLabel('tx_form_view_confirmation.donotconfirm') + $this->requestHandler->getPost('confirmation-false', NULL) !== NULL ) ) { $show = TRUE; @@ -237,7 +237,7 @@ class tx_form_Controller_Form { if ( isset($this->typoscript['confirmation']) && $this->typoscript['confirmation'] == 1 && - $this->requestHandler->getPost('confirmation') === NULL + $this->requestHandler->getPost('confirmation-true', NULL) === NULL ) { $show = TRUE; } diff --git a/typo3/sysext/form/Classes/View/Confirmation/Confirmation.php b/typo3/sysext/form/Classes/View/Confirmation/Confirmation.php index cbc779dad893b384b5a2d5ed176fccf5fb261be7..373b0f81791c854f4bdaca1c72c72401d8de5848 100644 --- a/typo3/sysext/form/Classes/View/Confirmation/Confirmation.php +++ b/typo3/sysext/form/Classes/View/Confirmation/Confirmation.php @@ -151,12 +151,12 @@ class tx_form_View_Confirmation extends tx_form_View_Confirmation_Element_Contai <li class="csc-form-confirmation-false"> <input type="submit" value="' . $this->localizationHandler->getLocalLanguageLabel('tx_form_view_confirmation.donotconfirm') . - '" name="' . $prefix . '[confirmation]" /> + '" name="' . $prefix . '[confirmation-false]" /> </li> - <li class="csc-form-confirmation-false"> + <li class="csc-form-confirmation-true"> <input type="submit" value="' . $this->localizationHandler->getLocalLanguageLabel('tx_form_view_confirmation.confirm') . - '" name="' . $prefix . '[confirmation]" /> + '" name="' . $prefix . '[confirmation-true]" /> </li> </ol> </fieldset>