#91238FormEngine new record with child record
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.