Project

General

Profile

Actions

Bug #16114

closed

Two mailforms on a page cause error on field validation

Added by Alexander Schloegl almost 18 years ago. Updated over 5 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)

Actions #1

Updated by Dennis Ahrens about 12 years ago

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

Actions #2

Updated by Gerrit Code Review over 11 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

Actions #3

Updated by Gerrit Code Review over 11 years ago

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

Actions #4

Updated by Gerrit Code Review over 11 years ago

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

Actions #5

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

Actions #6

Updated by Gerrit Code Review over 10 years ago

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

Actions #7

Updated by Gerrit Code Review over 10 years ago

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

Actions #8

Updated by Gerrit Code Review over 10 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

Actions #9

Updated by Gerrit Code Review over 10 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

Actions #10

Updated by Ernesto Baschny over 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF