Hello!
Does "CFv4 Upload Files [GH] action" work with the "Multi File Upload widget"? I need to upload multiple images in to the directory with a name that user specify in the form.
Thanks!
Does "CFv4 Upload Files [GH] action" work with the "Multi File Upload widget"? I need to upload multiple images in to the directory with a name that user specify in the form.
Thanks!
Hi ray_man,
Yes I think so, I haven't specifically tested but as the standard Upload Files action works I'd expect that mine would too. See the zip example in the FAQs for one way to handle this.
Bob
Yes I think so, I haven't specifically tested but as the standard Upload Files action works I'd expect that mine would too. See the zip example in the FAQs for one way to handle this.
Bob
Hi Bob.
Thanks, i found the zip example that clarified some things for me.
There is no "OnSuccess" field in CFv4 Upload Files [GH] action. Is it not necessary?
Thanks, i found the zip example that clarified some things for me.
There is no "OnSuccess" field in CFv4 Upload Files [GH] action. Is it not necessary?
Hi ray_man,
No, On Success events are rarely needed, instead control goes back to the parent event so the next event in the On Submit action will be run. It's usually only On Fail that you want to change the flow to handle the error.
I recommend that you avoid using On Success events wherever practical. They just lead to unnecessary nesting of events.
Bob
No, On Success events are rarely needed, instead control goes back to the parent event so the next event in the On Submit action will be run. It's usually only On Fail that you want to change the flow to handle the error.
I recommend that you avoid using On Success events wherever practical. They just lead to unnecessary nesting of events.
Bob
Hello Bob, Thank you for the Upload Files [GH] action. That works perfectly. I only have a smal problem left on the redirect page after submitting the form. On top of the page the following message shows:
And this is the debug code... Please can you take a look? I really can't find it.
Or could a safe solution be to turn this setting to "no":
"Show Top Errors"
$file_string: upload_foto:jpg-png-gif-jpeg
And this is the debug code... Please can you take a look? I really can't find it.
Validation Errors:
Array
(
)
Debug Data
Core Captcha
Passed the core captcha check!
Upload files
File post array: Array ( [name] => favico_kleur.gif [type] => image/gif [tmp_name] => /customers/a/5/d/******.nl/tmp/phpA4dibY [error] => 0 [size] => 6911 )
Upload routine started for file upload by: upload_foto
Success: 17_09_2013_favico_kleur_131787.gif has been uploaded OK.
File size is 7 kb
File path is:
/customers/a/5/d/*******.nl/httpd.www/images/1_nesten/17_09_2013_favico_kleur_131787.gif
File url is:
http://********.nl/images/1_nesten/17_09_2013_favico_kleur_131787.gif
email
12
Result
An email has been SENT successfully from (Teckeltje.nl)info@teckeltje.nl to info@****.nl,****.nl
Body
Or could a safe solution be to turn this setting to "no":
"Show Top Errors"
Hi yvet,
I'm sorry, there is a line of debug code left in :-(
Please look for this line around line 116 of /administrator/components/com_chronoforms/form_actions/upload_files_gh/upload_files_gh.php and delete it.
Bob
PS I've now fixed this in the download on my site.
I'm sorry, there is a line of debug code left in :-(
Please look for this line around line 116 of /administrator/components/com_chronoforms/form_actions/upload_files_gh/upload_files_gh.php and delete it.
$mainframe->enqueuemessage('$file_string: '.print_r($file_string, true).'<hr />');
Bob
PS I've now fixed this in the download on my site.
This topic is locked and no more replies can be posted.