-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
I tried the new addon Drag and Drop File Upload and activated it. I added this new field to an old form, where I have the classic media field upload, and now they are not working. If I submit the form, it says "Validation error". In the records, the error is " "You are not allowed to upload files".
No matter what "User access" I set, it does not work.
If I disable the addon, or delete the new field, the form works again.
Here my code:
<!-- wp:jet-forms/media-field {"validation":{"messages":{"max_size":"Maximale Dateigröße: %max_size%, bis zu 5 Dateien (jpeg)."}},"allowed_user_cap":"any_user","max_files":"5","max_size":"5","allowed_mimes":["image/jpeg"],"label":"Fotos von Veranstaltungen","name":"fotos","className":" jet-sm-gb-wrapper jet-sm-gb-b1a77681-b9d3-4591-9d78-da5abc1ebf24","blockID":"jet-sm-gb-b1a77681-b9d3-4591-9d78-da5abc1ebf24"} /-->
<!-- wp:jet-forms/drag-and-drop-file-upload {"validation":{"messages":{"max_size":"Maximale Dateigröße: %max_size%","allowed_mimes":"Erlaubte Dateiformate: %short_allowed_mimes% "}},"label":"Presseartikel","name":"upload_presseartikel","allowed_mimes":["image/jpeg","application/pdf","image/png"],"max_files":"5","max_size":"5","drag_n_drop_label":"Ziehen Sie Dateien in diesen Bereich","select_media_files_label":"wählen Sie die Dateien aus","drag_n_drop_separator":"oder","crocoblock_styles":{"_uniqueClassName":"cb-jwnc6x3n"}} /--></div>
<!-- /wp:group -->
Reactions are currently unavailable