Project

General

Profile

Actions

Task #78821

closed

Epic #77909: Enhance EXT:form

Feature #77910: Introduce new form framework

Ext:form - Add onSubmit callback for pages

Added by Ralf Zimmermann over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2016-11-28
Due date:
% Done:

100%

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

Description

Every Formelement run through some lifecycle callbacks which make it possible to manipulate the element on runtime.
It would be usefull to execute this callback on toplevel composit elements aka. pages.
This make it possible to dynamically add and remove elements on runtime.
At the moment, this callback is not triggered for pages.

Use this example to test the behavior
https://code.tritum.de/TYPO3.CMS/ext_form_example1480338786

This example provide a predefined form definition called "conditional elements example".
Install this Extension, include the statics, create a new "Form" Contentelement and select this form.
If you check the checkbox "Subscribe to newsletter" on the first page and continue to the next page,
then a new formelement "Name" will be shown on the second page. Additionaly a NotEmpty validator will be added to the "Email" formelement.

Without this patch, the formelement "Name" will not be created.


Related issues 1 (0 open1 closed)

Blocked by TYPO3 Core - Bug #79315: EXT:form - reset templatePathAndFilename if neededClosedRalf Zimmermann2017-01-13

Actions
Actions #1

Updated by Ralf Zimmermann over 7 years ago

  • Tracker changed from Feature to Task
  • Target version deleted (8.5)
  • TYPO3 Version set to 8
Actions #2

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50796

Actions #3

Updated by Ralf Zimmermann over 7 years ago

  • Subject changed from Add onSubmit callback for pages to Ext:form - Add onSubmit callback for pages
Actions #4

Updated by Ralf Zimmermann over 7 years ago

  • Description updated (diff)
Actions #5

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50796

Actions #6

Updated by Björn Jacob over 7 years ago

  • Parent task set to #77910
Actions #7

Updated by Ralf Zimmermann over 7 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF