Hi All, My form and file upload works well.
I need to copy my upload to a thumbnail folder. I'm ok with creating the thumbnail file, I just can't get the uploaded file name into a variable. In the from and table I called it file_id, but is shows blank when I <?php echo $file_id; ?>
I have my code under Easy Form Wizard in the Code tab.
Can anyone advise?
Jason
I need to copy my upload to a thumbnail folder. I'm ok with creating the thumbnail file, I just can't get the uploaded file name into a variable. In the from and table I called it file_id, but is shows blank when I <?php echo $file_id; ?>
I have my code under Easy Form Wizard in the Code tab.
Can anyone advise?
Jason
Hi jm1968a,
If you check the Upload File Help tab you'll seeAll configured fields share the same max and minimux size check, if you have different sizes then add another "Files upload" action.
Files data will be stored after processing under the $form->files AND $form->data['_PLUGINS_']['upload_files'].
You can add a "Custom code" action after this one and use this code to check/user the response data stored : print_r2($form->data['_PLUGINS_']['upload_files']); [/list]
Bob
If you check the Upload File Help tab you'll see
[list]
Bob
This topic is locked and no more replies can be posted.