Bug #16114
closedTwo mailforms on a page cause error on field validation
100%
Description
Recently I had a complaint by a customer who had set some fields in a standard mailform to "required" but evaluation failed and the mail was sent without having been evaluated.
I found out that he had two forms on one page, and typo3 (4.0 btw) gives them the same id (id=mailform) which causes the JavaScript to fail.
As Ernesto Baschny pointed out, this is due to a default TS setting in css_styled_content:
tt_content.mailform.20.formName = mailform
Ernesto suggested the following:
"An easy solution would be to default the provided TS to the "hash-based" id for forms..."
(issue imported from #M3393)
Updated by Dennis Ahrens over 12 years ago
Anything happened here? I stumpled into this issue in TYPO3 4.6.3 without the new ExtJS based form element.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12844
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12844
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12844
Updated by Gerrit Code Review over 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12844
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12844
Updated by Gerrit Code Review over 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12844
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/22477
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/22478
Updated by Ernesto Baschny over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset cf016cfbf1f1c55efd217e9827f3f21270792486.