Sylvain1969
Member
Hello,
I am figuring out how I can send a document when the form is submitted.
facturen = list
document = field which held the pdf name which has being uploaded.
directory = facturen which is in the root.
This is the code I try but didn't succeed :
$invoice = $this->data['facturen___document'];
$FileSend = 'facturen/'.$invoice;
$file[] = $FileSend;
return $file;
Also try this one , but also didn't succeed :
$invoice = $this->data['facturen___document'];
$FileSend = $invoice;
$file[] = $FileSend;
return $file;
I am figuring out how I can send a document when the form is submitted.
facturen = list
document = field which held the pdf name which has being uploaded.
directory = facturen which is in the root.
This is the code I try but didn't succeed :
$invoice = $this->data['facturen___document'];
$FileSend = 'facturen/'.$invoice;
$file[] = $FileSend;
return $file;
Also try this one , but also didn't succeed :
$invoice = $this->data['facturen___document'];
$FileSend = $invoice;
$file[] = $FileSend;
return $file;