Actions
Bug #70315
closedEpic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form
EXT:form - Error with multiple forms on one page
Start date:
2015-10-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If you put 2 forms on a page and submit it, both forms are send by mail.
Try it:
Form1
class = standardForm enctype = multipart/form-data method = post prefix = otherForm confirmation = 1 postProcessor { 1 = mail 1 { senderEmailField = email senderNameField = surname subjectField = subject recipientEmail = mail@example.com priority = 1 organization = TRITUM senderEmail = mail@example.com subject = sdsdsd } } 10 = TEXTLINE 10 { name = textfield 1 label { value = Edit this label 1 } } 20 = SUBMIT 20 { class = xxx name = submit1 value = Submit form }
Form2
class = standardForm enctype = multipart/form-data method = post prefix = standardForm confirmation = 1 postProcessor { 1 = mail 1 { senderEmailField = email senderNameField = surname subjectField = subject recipientEmail = mail@example.com priority = 1 organization = TRITUM senderEmail = mail@example.com subject = sdsdsd } } 10 = TEXTLINE 10 { name = textfield 1 label { value = Edit this label } } 20 = SUBMIT 20 { class = xxx name = submit2 value = Submit form }
Actions