Bug #16114

Two mailforms on a page cause error on field validation

Added by Alexander Schloegl about 15 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2006-05-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

#1

Updated by Dennis Ahrens over 9 years ago

Anything happened here? I stumpled into this issue in TYPO3 4.6.3 without the new ExtJS based form element.

#2

Updated by Gerrit Code Review almost 9 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

#3

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12844

#4

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12844

#5

Updated by Gerrit Code Review about 8 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12844

#6

Updated by Gerrit Code Review almost 8 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12844

#7

Updated by Gerrit Code Review almost 8 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12844

#8

Updated by Gerrit Code Review almost 8 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

#9

Updated by Gerrit Code Review almost 8 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

#10

Updated by Ernesto Baschny almost 8 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF