For now what I did to get around this issue is to instead of rename the file, make a directory by $id and store files in there. Although it does exactly what I need, I would still like to find out still how to manipulate the rename function or at least how to stop filters/validations from happening until the form actually submits.
|