Jamie18
Sep 17th 2007, 12:47 pm
i'm under the impression that this can't be done without doing strange button/ textfield coverups but maybe someone here can shed a bit of light on the issue..
i've been asked to creat a file input that remembers the file name/path after the file has been submitted.. so if the form fails validation the user doesn't have to search their computer for the file again..
i'm assuming this isn't possible due to user privacy issues.. but if it is possible it would be nice if someone told me how
here's a simplified version of what i want in my page
<form action="thispage" method="post">
<input type="file" id="fileInput" <cfif isdefined("fileInput")>inputField="#fileinput#"</cfif>
<input type="submit" value="Load File">
</form>
i've been asked to creat a file input that remembers the file name/path after the file has been submitted.. so if the form fails validation the user doesn't have to search their computer for the file again..
i'm assuming this isn't possible due to user privacy issues.. but if it is possible it would be nice if someone told me how
here's a simplified version of what i want in my page
<form action="thispage" method="post">
<input type="file" id="fileInput" <cfif isdefined("fileInput")>inputField="#fileinput#"</cfif>
<input type="submit" value="Load File">
</form>