StrikekitStrikekit

upload

Set files on a labeled file input

Upload a file to a labeled <input type="file">. The first quoted value is a filename resolved beside the .stk file.

Syntax

When I upload "<filename>" to "<field>"

Qualifiers

QualifierRoleExample
toFile input labelupload "invoice.pdf" to "Attachments"

Examples

When I upload "invoice.pdf" to "Attachments"

File lookup

  1. {stk-dir}/filename
  2. {stk-dir}/files/filename

Filename only — no paths and no $ENV in the filename string.

On this page