V6 Upload file

ediaccount , March 20 at 05:39
e
ediaccount

Please explain how the upload file form field works in V6. Tried unsuccessfully to get it to work. Tried using it in conjunction with the File Upload function, but still not working. What is "Files config"?

Thanks -

-Brian

admin

Hi Brian,

The files config is the files fields names to be processed along with the extensions allowed, so you can use for example:

				file1:jpg,png,gif
				


Best regards,
Max

e
ediaccount

By "files fields" are you referring to the name of the file upload field in the form?

Please see the attached images for the settings I used for form fields, form, upload function and event.

I run the form, select my file and submit. but nothing gets uploaded to the directory.

Thanks -

-Brian

Attachments
form_fields.PNG
form_fields.PNG
(33.89 KiB)
45 Downloads/Views
form.PNG
form.PNG
(33.37 KiB)
45 Downloads/Views
save_file_event.PNG
save_file_event.PNG
(21.04 KiB)
48 Downloads/Views
upload_function.PNG
upload_function.PNG
(37.63 KiB)
46 Downloads/Views
admin

Hi Brian,

The directory path should end with a slash "\" and the directory should actually exist, because connectivity will not try to create it.

Best regards,
Max

e
ediaccount

Adding the slash to the end of the directory did the trick. Many thanks -

-Brian

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

SSL

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com