Reputation: 656
i am creating a form in Drupal 10 using Webform. i am able add elements like "Textfield", "TextArea" etc. When i try to add "File upload", nothing is listing. Please find the attachment for the screenshot. Please help to fix this and add file upload field in the form.
Upvotes: 0
Views: 399
Reputation: 1
I set path for private files in : $settings['file_private_path']
clear cache with :
./vendor/bin/drush cr
Then I can see options to upload files on webform build.
Upvotes: 0
Reputation: 21
Do you have init the $settings['file_private_path'] in the right settings.php ? And clear drupal cache ?
You can also verify in "/admin/structure/webform/config/elements/" if the file element is available
Upvotes: 1