Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
ec25500e
Commit
ec25500e
authored
1 year ago
by
Jan Haller
Browse files
Options
Downloads
Patches
Plain Diff
Refs #17498 - Documentation.
parent
bcf9cbdf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!691
New version v24.3.0
,
!665
Refs #17498 - previous/next button on form
,
!655
previous/next buttons on form
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/Form.rst
+17
-1
17 additions, 1 deletion
Documentation/Form.rst
with
17 additions
and
1 deletion
Documentation/Form.rst
+
17
−
1
View file @
ec25500e
...
...
@@ -528,6 +528,13 @@ Form.parameter
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| fieldsetClass | string | Overwrite default from :ref:`configuration`. |
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| btnPreviousNextSql | string | Query that selects records which are then accessible by the previous/next buttons. |
| | | See :ref:`btnPreviousNextSql` |
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| btnPreviousNextLoop | digit | 0: off, 1: Allow to loop through the records (from last to first and vice versa). |
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| btnPreviousNextWrap | string | Wrap the buttons in custom HTML. Default: '
<span
class=
"pull-right"
><div
class=
"btn-group"
role=
"group"
>
'|
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
* Example in field Form.parameter::
...
...
@@ -541,7 +548,7 @@ submitButtonText
""""""""""""""""
If specified and non empty, display a regular submit button at the bottom of the page with the given text.
This gives the form a ordinary HTML-form look'n' feel. With this option, the standard buttons on the top right border
This gives the form a ordinary HTML-form look
'n' feel. With this option, the standard buttons on the top right border
should be hidden to not confuse the user.
* Optional.
...
...
@@ -600,6 +607,15 @@ The 'extraDeleteForm' parameter might be specified for a 'form' and/or for 'subr
See also: :ref:`delete-record`.
btnPreviousNextSql
""""""""""""""""""
Generates two buttons in the form title that link to the previous/next record. Records are selected by a query which
uses the columns 'id', 'btnPrevious' (optional), 'btnNext' (optional) and 'btnCurrent' (optional). Optional columns can
be used to style the buttons using the AS _link notation. 'bntCurrent' generates a third button in between the other two.
E.g. `{{!SELECT id AS id FROM Car}}` or `{{!SELECT id AS id, CONCAT('p:
<pageSlug>
?form=
<form>
?r=', id, '|s|b|G:
<glyphicon>
')
AS btnPrevious FROM Car}}`.
.. _form-mode-global:
Form mode global
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment