kkonkle
Member
I have a form that will allow one of our users to submit a sale to us.
Part of that process is attaching any number of files to the sale before they submit. Its a standard setup. A file input control, and an "Add" button below that to save it. I also have a list box that shows what files theyve added so far, along with a "Remove" button they can use to remove files from the list box.
I have this all working. Nothing is sent to us until they click Submit at the end of the process, so theyre free to add and remove files all day long.
One of our more nitpicky users complained that the file browse box is not long enough. She will select a file buried deep within her file system and when she selectes the file and clicks "Open" all she can see in the file upload box is:
"C:\Documents and Settings\Am". I simply dont have any room on the form to stretch that control out as long as she would like.
I told her she can click on the path in the box and scroll it all the way to the right to see her file name. I told her she can see the file name when she first selects it, and again in the list box after she clicks "Add" too. And if its wrong she can highlight it and click "Remove"... but that did not silence her.
So is there a way to:
a) Autoscroll the file box all the way to right after theyve selected their file and clicked "Open"
b) Have a label or something below the file upload box that I could trim the file name out of the path and display it alone there for easy viewing before the user clicks "Add"
c) something else that will show the user their selected file name before they commit it to the list box
Thanks.
Part of that process is attaching any number of files to the sale before they submit. Its a standard setup. A file input control, and an "Add" button below that to save it. I also have a list box that shows what files theyve added so far, along with a "Remove" button they can use to remove files from the list box.
I have this all working. Nothing is sent to us until they click Submit at the end of the process, so theyre free to add and remove files all day long.
One of our more nitpicky users complained that the file browse box is not long enough. She will select a file buried deep within her file system and when she selectes the file and clicks "Open" all she can see in the file upload box is:
"C:\Documents and Settings\Am". I simply dont have any room on the form to stretch that control out as long as she would like.
I told her she can click on the path in the box and scroll it all the way to the right to see her file name. I told her she can see the file name when she first selects it, and again in the list box after she clicks "Add" too. And if its wrong she can highlight it and click "Remove"... but that did not silence her.
So is there a way to:
a) Autoscroll the file box all the way to right after theyve selected their file and clicked "Open"
b) Have a label or something below the file upload box that I could trim the file name out of the path and display it alone there for easy viewing before the user clicks "Add"
c) something else that will show the user their selected file name before they commit it to the list box
Thanks.