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 😉
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 😉
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.
Bob
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
This topic is locked and no more replies can be posted.