tiagovareta
Member
Hi,
I have a form that is not associated with a database. I use this form to send files.
In this case, I do not want to save the file path.
In the form processing, in the area of plugins, I have a pulgin php, to send the email with the files that we are uploading.
I put the code, to get the name of the file, but it is left blank:
$comp = $formModel->getElementData('___comp_mr_adp3');
How can I put the file name, which was uploaded into a variable?
I have a form that is not associated with a database. I use this form to send files.
In this case, I do not want to save the file path.
In the form processing, in the area of plugins, I have a pulgin php, to send the email with the files that we are uploading.
I put the code, to get the name of the file, but it is left blank:
$comp = $formModel->getElementData('___comp_mr_adp3');
How can I put the file name, which was uploaded into a variable?