RENAME FILE UPLOAD AJAX X PHP - SOLVED

HyperOsmar

Member
Colleagues, I hope you are all well...

Where did I go wrong???...

$n_search = $formModel->formData['cad_search___username_raw'];
$name_search=$n_search."_search.pdf";
return $name_search;

I'm wanting to rename the file automatically, with the option "Use Ajax upload" disabled it works perfectly, but enabled it doesn't.

What I want is to concatenate two fields to generate the file name.

Can someone help me???...
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top