Programatically upload files with template, and update `files` field with these files

These two are quite similar and should help you get going:

Also this recipe: Uploading files from frontend | Kirby CMS

1 Like