Project

General

Profile

Actions

Task #71607

closed

Story #69712: Further FormEngine development

FormEngine: Flex section deletion

Added by Christian Kuhn about 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-11-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Deleting a section in flex currently does:

  • add a t3js-flex-section-deleted to the section div
  • the fields itself are kept and are probably (?) transmitted to dataHandler

This leads to funny fixes like https://review.typo3.org/#/c/44732/1 where validation did validate the "deleted" fields ...

This is also ugly: dataHandler still receives all field data, but probably just skips processing after it found out that the section itself is deleted.

Why can't delete just a) set the hidden "i'm a deleted section" marker and b) delete the single field dom altogether?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #71323: Flexform: Removing section element with empty required field prevents form savingClosedFrank Nägler2015-11-04

Actions
Actions

Also available in: Atom PDF