Project

General

Profile

Actions

Feature #91238

closed

FormEngine new record with child record

Added by Roman Büchler over 4 years ago. Updated 4 months ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-04-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.4
Tags:
Complexity:
Sprint Focus:

Description

With the extension timelog working time is registered for tasks. The working time is defined by intervals that form child records from a task record (1:n relationship). When the user creates a new task he has to click the "Create new"-button to add an interval. It would be a better user experience if an interval would be automatically created when creating the task.

For TYPO3 V9 it was solved in a FormDataProvider with JS fireing a click event on the new button:

$pageRenderer->loadRequireJsModule(
    'jquery',
    'function() { $(".inlineNewButton").trigger("click"); }'
);

For TYPO3 V10 the js aproach doesn't work any more.

May be other users have similar use cases that could make such a feature interesting.

Actions

Also available in: Atom PDF