Hello Pablo:
I have created a form inside a layout grid with several fields and four different files to be uploaded. I receive the confirmation message correctly but in the CSV file, only the data fields are inserted and there is no information about the files uploaded in this session, although the files were correctly uploaded. Have I forgotten something or is it a bug?
Thanks in advance
Name of File uploaded not appears in CSV file
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: Name of File uploaded not appears in CSV file
If multiple files are uploaded then it's not possible to save the file names in CSV, because in that case the format of the submitted data is different.
Re: Name of File uploaded not appears in CSV file
Just in case of missunderstood: I am using four File Upload fields in a single form. So in that case how can I know the random name PHP built-in processor adds to the file?
Re: Name of File uploaded not appears in CSV file
To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.
I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Re: Name of File uploaded not appears in CSV file
Here is the test project
Last edited by grundman on Thu Sep 01, 2022 12:52 pm, edited 1 time in total.
Re: Name of File uploaded not appears in CSV file
Sorry, this functionality is not supported for file upload, because the data is sent as array.
Re: Name of File uploaded not appears in CSV file
Thanks Pablo. So my question is now: is there a way to know what is the random seed added to the file name of the file uploaded. In that way a user file uploaded can be identified by this random seed. In other words are there any internal variable which stores this information in the built-in script? It will be very helpful.
Re: Name of File uploaded not appears in CSV file
The file name is random intentionally for security reasons. Otherwise user may be able to upload a script to the server, guess the location and execute the file.
But you can disable this behvaior in the properties of the form.
Also, in the meantime I have released an update which adds support for file upload in CSV.
But you can disable this behvaior in the properties of the form.
Also, in the meantime I have released an update which adds support for file upload in CSV.
Re: Name of File uploaded not appears in CSV file
As I said in another thread: Many THANKS for solutioned this issue!