I have a page that will upload images using something similar to this :
<p>Thankyou, your file has been uploaded.</p>
<form enctype="multipart/form-data" method="post">
<input type="file" name="fileUpload" /><br />
<input type=text name="marketComment">
<input type="submit" value="Upload File" />
I do have a few other associated fields that are validated in this process. In this example I used a required field "marketComment".
If I need to redisplay the page because of an error (say the text field contained invalid characters), I can redisplay the contents of the text field, but I don't seem to be able to redisplay the "chosen file" to upload. The form field (form.fileUpload) only contains the location of the uploaded file on the CF server.
Is there a way to do this? Or is this a Web security issue?