Cookbook - Upload file programmatically

Created on 15 May 2023, over 1 year ago
Updated 25 May 2023, over 1 year ago

Problem/Motivation

Hello Webform Community,

I'm looking to programmatically create webform submissions with a custom module. ( How to programmatically create and update a submission β†’ )

Thanks to the Cookbook Webform which helps a lot.

Except that in my automatic creation I want to add a file to a field. But I can't find an example or I'm running into problems on my side.

Is it possible to have an example (with best practices) and/or add this example to the cookbook which would be very useful.

Good for you,
Monster971

πŸ“Œ Task
Status

Closed: outdated

Version

6.1

Component

Documentation

Created by

πŸ‡¬πŸ‡΅Guadeloupe Monster971

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024