Hi,
I have a multipage form (4 pages) with on page 2 an upload_files event. How ever no file is uploaded after submitting the form.
As a test I created a test-form with just one element: File Upload and then it works just fine.
I have put the enctype='mulitpart/form-data' in the Form Tag Attachement and I have put Form method to File. With no luck.
Can anybody help?
Thanks for your response.
Below you'll find the debug code of the multipage form that isn't working and below that the debug code of the simple form that is working:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have a multipage form (4 pages) with on page 2 an upload_files event. How ever no file is uploaded after submitting the form.
As a test I created a test-form with just one element: File Upload and then it works just fine.
I have put the enctype='mulitpart/form-data' in the Form Tag Attachement and I have put Form method to File. With no luck.
Can anybody help?
Thanks for your response.
Below you'll find the debug code of the multipage form that isn't working and below that the debug code of the simple form that is working:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data Array:
Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => Offerteformulier-Copy
[event] => submit
[cf_sid] => 44ca2fb08e7eb714c00ead31df0f3318
[Itemid] =>
[input_radio_32] => ja
[input_textarea_33] =>
[input_radio_39] => 1jaar
[input_checkbox_group_35] => Array
(
[0] => facebook
)
[input_submit_36] => Verzenden
[67fef71f33d7f22fef5e4e129e07d8b8] => 1
[choose_one] => prive
[input_radio_2] => heer
[input_text_8] => hiuhuh
[input_text_9] => iuhiuh
[input_text_10] => iuhiuhu
[input_text_11] => h
[input_text_12] => uhuh
[input_text_14] => uhiuhiuuhu@iuhiuh.nl
[input_text_15] => 656565
[input_checkbox_group_16] => Array
(
[0] => ochtend
[1] => middag
[2] => avond
[3] => weekend
[4] => email
)
[input_submit_4] => Volgende
[input_checkbox_group_5] => Array
(
[0] => 3000-4000
)
[input_select_18] => weetniet
[input_select_19] => weetniet
[input_text_20] =>
[input_text_21] =>
[input_text_22] =>
[input_select_23] => weetniet
[input_text_24] =>
[input_file_25] =>
[input_file_28] =>
[input_file_26] =>
[input_file_29] =>
[input_file_30] =>
[input_textarea_31] =>
[input_submit_5] => Volgende
[file_upload1] =>
[_PLUGINS_] => Array
(
[upload_files] => Array
(
)
)
)
Validation Errors:
Array
(
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Data Array:
Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => test
[event] => submit
[Itemid] =>
[input_text_1] => ddd
[file_upload] => 20130310170320_test.txt
[input_submit_2] => Submit
[67fef71f33d7f22fef5e4e129e07d8b8] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[file_upload] => Array
(
[name] => 20130310170320_test.txt
[original_name] => test.txt
[path] => /home/xxxxxxxxxx.nl/public_html/components/com_chronoforms/uploads/test/20130310170320_test.txt
[size] => 21
[link] => http://www.hxxxxxxxxxx.nl/components/com_chronoforms/uploads/test/20130310170320_test.txt
)
)
)
)
Validation Errors:
Array
(
)
Debug Data
Upload routine started for file upload by : file_upload
/home/xxxxxxxxxx.nl/public_html/components/com_chronoforms/uploads/test/20130310170320_test.txt has been uploaded successfully.