Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
typo3
qfq
Commits
34be39d7
Commit
34be39d7
authored
Sep 30, 2019
by
Carsten Rose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update description MultiForm
parent
5a6cb89f
Pipeline
#2434
passed with stages
in 3 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
Documentation/Manual.rst
Documentation/Manual.rst
+21
-5
No files found.
Documentation/Manual.rst
View file @
34be39d7
...
...
@@ -4353,16 +4353,32 @@ Action
Multi Form
----------
`Multi Forms` are like regular forms, but work on 'n' records at the same time.
`Multi Forms` are like a regular with the difference that the shown FormElements are repeated for each selected record
(defined by 'multiformSql').
Image a form with 3 native FormElements, a statement `multiFormSql={{!SELECT p.id AS _id FROM Person AS p}}` and 20 records
in table `Person`: QFQ will show a form with a table of 3 columns and 20 rows with FormElements, arranged in a table.
The Form is shown as a table.
* multiFormSql:
A uniq column 'id' or '_id' is required. Columns
* multiFormSql:
Selects the primary record where the defined FormElements will work on.
* A uniq column 'id' or '_id' (not shown) is mandatory and has to reflect an existing record id in table `primary table`.
* Additional columns, defined in multiFormSql, will be shown in the same line, before the FormElements.
Simple mode
Simple
======
* The FormElement.name represents a column of the given primary table.
* It's not possible to create new records.
* Only existing records can be selected and edited in this mode.
* Per multiFormSql row, the STORE_RECORD is filled with the whole record of the primary table, defined by `multiFormSql.id`.
* The existing values of such FormElements are automatically loaded.
* No further definition is required.
Advanced
========
* The FormElement.name is not a column of the primary table.
* The insert/update/delete of each non-primary table record has to be manually defined.
.. _multiple-languages:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment