Bug #70315

Epic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form

EXT:form - Error with multiple forms on one page

Added by Ralf Zimmermann about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2015-10-02
Due date:
% Done:

100%

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
}

Associated revisions

Revision b51c35e5 (diff)
Added by Ralf Zimmermann about 4 years ago

[BUGFIX] EXT:form - Error with multiple forms on one page

Forward every not submitted form to the show action

Resolves: #70315
Releases: master
Change-Id: I99ecf4fb4da1de84eccae622a6db18f952867111
Reviewed-on: http://review.typo3.org/43746
Reviewed-by: Daniel Goerz <>
Tested-by: Daniel Goerz <>
Reviewed-by: Bjoern Jacob <>
Tested-by: Bjoern Jacob <>
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>

History

#1 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43746

#2 Updated by Gerrit Code Review about 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43746

#3 Updated by Gerrit Code Review about 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43746

#4 Updated by Gerrit Code Review about 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43746

#5 Updated by Ralf Zimmermann about 4 years ago

  • Description updated (diff)

#6 Updated by Ralf Zimmermann about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#7 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF