I have found very usefull to use php rename code of file upload action to rename a filename
but my doubt is if it posible to do with 2 filenames
files config
file1:jpg
file2:jpg
arrayfields
file1,file2
php rename code
but it doesnt work, it assign first name to both files, i think do I have to use two action?
<?php
return "newnamefile1";
?>
but my doubt is if it posible to do with 2 filenames
files config
file1:jpg
file2:jpg
arrayfields
file1,file2
php rename code
<?php
return "newnamefile1.jpg";
return "newnamefile2.jpg";
?>
but it doesnt work, it assign first name to both files, i think do I have to use two action?