Forums

Used the modified name after upload Upload

prinect 26 Jan, 2015
Hello,

When I upload a file, the name is modified (ex: étoile.pdf---> toile.pdf), is it possible to get this name modified by chronoform, for use it in a variable php in a custom codes ?

Thank you

Sorry but my english is very bad, i'm french 😉
GreyHead 26 Jan, 2015
Hi prinect,

The file name should be available in the $form->files array. If you don't see in the Debugger output add a Custom Code action with this Debug code to get the exact parameter name.
<?php
echo'<div>$form->files: '.print_r($form->files, true).'</div>';
?>

Bob
prinect 26 Jan, 2015
Answer
Many thank's BOB !!! You are the best 😃

JL
This topic is locked and no more replies can be posted.