Ok so i have a html form, 10 files get uploaded. 6 images and 4 pdf. some of theses files are required others not.
My problem is when my script verifys the data and retuns to the user that he/she has errors all the file inputs are come back as blank... and if the user re-submitts... the files are not saved.
This form has other fields other than the files as well.
I tried putting $_POST
in the value of my inputs but that does not repopulate with the local file names.
I would like it so my users dont need to re enter all the files they want to upload if they made 1 or a few mistakes.
edited: SO is this normal that the post isnt giving me the file name? is the file still saved as temp on the server?