HTML5 File Upload Support Product Page

Solved

.PDF Uploads?

Reported 18 Apr 2016 14:45:49
1
has this problem
18 Apr 2016 14:45:49 Dave Smith posted:
Hi,
I am trying to upload .PDF files using HTML5 File Upload but they are not being stored. I have selected 'All Files' from the Field properties dialogue in HTML5 Forms Designer and applied a Validator rule to allow for .PDF uploads. Despite this the .PDF files do not get uploaded.

Personally I would consider .PDF to be an essential file type to select from the Field Properties drop-down... Just my two cents.

Is there a file I can edit to allow for .PDF files by default?

Any help appreciated.

Thank you.

Replies

Replied 18 Apr 2016 14:55:47
18 Apr 2016 14:55:47 Teodor Kuduschiev replied:
Hello Dave,
There are no any restrictions set in the extensions code. If all file types are allowed in the file uploaded settings, then the files will be uploaded.
Please check and report the error returned here: www.dmxzone.com/go/32354/debugging-problems-in-dmxzone-server-connect/
Replied 18 Apr 2016 15:12:02
18 Apr 2016 15:12:02 Dave Smith replied:
Hi Teodor,
Below is the console output:

----------------------------

jquery-latest.pack.js:4 POST *********/dmxConnect/api/AccountsActions/Upload_Account_Document.php 400 ()send @ jquery-latest.pack.js:4m.extend.ajax @ jquery-latest.pack.js:4a.dmxServerAction.send @ dmxServerAction.js:7e @ dmxServerAction.js:7(anonymous function) @ dmxDataBindings.js:7

----------------------------

The files are on the server in the correct location.
Replied 18 Apr 2016 15:12:42
18 Apr 2016 15:12:42 Dave Smith replied:
Other file types upload fine, such as .txt and .png etc.
Replied 18 Apr 2016 15:25:10
18 Apr 2016 15:25:10 Teodor Kuduschiev replied:
please make sure to copy the exact error message returned, as in the tutorial.
Replied 19 Apr 2016 09:19:09
19 Apr 2016 09:19:09 Dave Smith replied:
Good morning Teodor,
Rather then spend too long trying to figure out what is going wrong I removed everything and started afresh and did not apply the validation to the form. Everything works fine and 'ALL' file types are uploaded. When I have a bit more time I will go back to the old page and try to figure out what happened (unfortunately deadlines are a terrible thing sometimes).

Thanks for your time as always.

Reply to this topic