Commit 3a0bdfe6 authored by Carsten  Rose's avatar Carsten Rose
Browse files

fix broken ref to STORE_VARS

parent becb4fc6
Pipeline #4967 passed with stages
in 3 minutes and 55 seconds
...@@ -1928,7 +1928,7 @@ and will be processed after saving the primary record and before any action Form ...@@ -1928,7 +1928,7 @@ and will be processed after saving the primary record and before any action Form
* *FormElement.value* = `<string>` - By default, the full path of any already uploaded file is shown. To show something * *FormElement.value* = `<string>` - By default, the full path of any already uploaded file is shown. To show something
different, e.g. only the filename, define: different, e.g. only the filename, define:
* ``{{filenameBase:V}}`` (see :ref:` STORE_VARS <store_vars_form_element_upload>`) * ``{{filenameBase:V}}`` (see :ref:`STORE_VARS<store_vars_form_element_upload>`)
* ``{{SELECT SUBSTRING_INDEX( '{{pathFileName:R}}', '/', -1) }}`` * ``{{SELECT SUBSTRING_INDEX( '{{pathFileName:R}}', '/', -1) }}``
See also :ref:`download Button<downloadButton>` to offer a download of an uploaded file. See also :ref:`download Button<downloadButton>` to offer a download of an uploaded file.
...@@ -1967,7 +1967,7 @@ FormElement.parameter ...@@ -1967,7 +1967,7 @@ FormElement.parameter
such an installation (filesystem and database) are moveable. such an installation (filesystem and database) are moveable.
* If the original filename should be part of `fileDestination`, the variable *{{filename}}* * If the original filename should be part of `fileDestination`, the variable *{{filename}}*
(see :ref:` STORE_VARS <store_vars_form_element_upload>`) can be used. Example :: (see :ref:`STORE_VARS<store_vars_form_element_upload>`) can be used. Example ::
fileDestination={{SELECT 'fileadmin/user/pictures/', p.name, '-{{filename}}' FROM Person AS p WHERE p.id={{id:R0}} }} fileDestination={{SELECT 'fileadmin/user/pictures/', p.name, '-{{filename}}' FROM Person AS p WHERE p.id={{id:R0}} }}
...@@ -2029,7 +2029,7 @@ FormElement.parameter ...@@ -2029,7 +2029,7 @@ FormElement.parameter
`fe.value`. The button is only shown if `fe.value` points to a readable file on the server. `fe.value`. The button is only shown if `fe.value` points to a readable file on the server.
* If `downloadButton` is empty, just shows the regular download glyph. * If `downloadButton` is empty, just shows the regular download glyph.
* To just show the filename: `downloadButton = t:{{filenameOnly:V}}` (see :ref:` STORE_VARS <store_vars_form_element_upload>`) * To just show the filename: `downloadButton = t:{{filenameOnly:V}}` (see :ref:`STORE_VARS<store_vars_form_element_upload>`)
* Additional attributes might be given like `downloadButton = t:Download|o:check file|G:0`. Please check :ref:`download`. * Additional attributes might be given like `downloadButton = t:Download|o:check file|G:0`. Please check :ref:`download`.
* *fileUnzip* - If the file is a ZIP file (only then) it will be unzipped. If no directory is given via ``fileUnzip``, the * *fileUnzip* - If the file is a ZIP file (only then) it will be unzipped. If no directory is given via ``fileUnzip``, the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment