Commit 6a90cbea authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: more generic SQL to extract filename from pathFileName

parent 1eabf9d4
......@@ -3135,7 +3135,7 @@ and will be processed after saving the primary record and before any action Form
* *FormElement.value*: By default, the full path of any already uploaded file is shown. To show something different, e.g.
only the filename, define: ::
{{SELECT SUBSTRING_INDEX(pathFileNamePicture, '/', -1) FROM Note WHERE id={{id:R0}} }}
{{SELECT SUBSTRING_INDEX( '{{pathFileName:R}}', '/', -1) }}
* *FormElement.parameter*:
......@@ -3185,9 +3185,7 @@ and will be processed after saving the primary record and before any action Form
* *fileReplace=always*: If `fileDestination` exist - replace it by the new one.
* fileSplit:
* fileDestinationSplit:
* tableNameSplit: see split-pdf-upload_
* fileSplit, fileDestinationSplit, tableNameSplit: see split-pdf-upload_
Immediately after the upload finished (before the user press save), the file will be checked on the server for it's
content or file extension (see 'accept').
......
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