Task #71607

Story #69712: Further FormEngine development

FormEngine: Flex section deletion

Added by Christian Kuhn almost 4 years ago. Updated over 3 years ago.

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

0%

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

Related to TYPO3 Core - Bug #71323: Flexform: Removing section element with empty required field prevents form saving Closed 2015-11-04

History

#1 Updated by Riccardo De Contardi almost 4 years ago

  • Category set to FormEngine aka TCEforms

#2 Updated by Mathias Schreiber over 3 years ago

  • Parent task set to #69617

#3 Updated by Christian Kuhn over 3 years ago

  • Parent task changed from #69617 to #69712

Also available in: Atom PDF