-
Notifications
You must be signed in to change notification settings - Fork 0
Archive Trac fieldnotes lrfile
madscatt edited this page Jun 20, 2026
·
1 revision
Legacy Trac archive page imported from
fieldnotes_lrfile. Source: https://genapp.rocks/wiki/wiki/fieldnotes_lrfile. Review age, links, and examples before treating as current.
-
lrfile provides the ability to select a file from the local or remote system
-
applicability: html5/php only
-
example usage tools:filetest
-
it should work just like field type "file" in the module json
- just change "file" to "lrfile"
- the json provided to the module executable will look the same
- i.e. you should not be able to tell the difference within the executable from the provided input json tag whether or not it was a server or local file
- there are some extra tags around that could be used to determine whether a local or server file was selected this if needed
- "multiple" attribute is not supported
- if used, it will not work on the "browse server"
- future support planned, but not prioritized unless needed
- the default local file input automatically provides text next to it listing the file
- so it will say "no file selected" if a server file is chosen
- the actual file will be on the right of both buttons (with a label Server: or Local:)
- we can fix this later with some fancy tricks
- e.g. http://www.quirksmode.org/dom/inputfile.html and others
- if user is not logged on, the browse server button is available, but will warn them if pressed
- the user can select a server input file from another project
- the server input files are not copied, simply provided in place
- could be an issue with someone removing a file during run (since only the running project is locked)
- it is not copied over to the current project
- not sure if we want to move it or not
- is the OK button placement ok or should we center or give it an alternate text?