Upload document file field, does not display selected file in inputbox

I am trying to use the upload file field type.

Problem: When I run the app, and go and select a file, upon return the filename does not display in the input box. But, if I go and submit the form the file does get uploaded. Why does the selected field not show in the input box? I have found this issue on Chrome, not sure if it works elsewhere.

Question: Is there a way to turn the delete record checkbox off without a CSS workaround? I can see its use when the file is associated to a record, but in some cases they aren’t, so this should not be displayed.

Question: Where are the file uploaded icon images derived from? I uploaded an excel document, and the icon was broken or a question mark, is that working correctly? Or where are these icons maintained?

thanks -

David

Re: Upload document file field, does not display selected file in inputbox

bump… anyone? help…

Hello,

Our development team is aware of this issue, and is working to find a proper solution.

regards,
Bernhard Bernsmann

Found this issue also, Hoping that this can be fixed…
Has anyone also noticed that you cant delete the uploaded files on the ftp server, if you asked the sc to create the subfolder?

Found this out from deleting the entire project from the server.

If anyone has a fix for this let me know.

Kevin

fix plz…also when u select the file for upload, there is a 5sec reload time in browser before u can add the file. Actually browser should only perform reload when I add file…causes problems when u select file and add right away…file is not present then…

[QUOTE=Kdriscoll;11307]Found this issue also, Hoping that this can be fixed…
Has anyone also noticed that you cant delete the uploaded files on the ftp server, if you asked the sc to create the subfolder?

Found this out from deleting the entire project from the server.

If anyone has a fix for this let me know.

Kevin[/QUOTE]

Hello Kevin,

This issue is probably happening because “someone else” created this folder, and you have no access to it. You can probably fix this by setting read, write permissions to your user.

Our development team is working on new features and improvements to the inputbox.

regards,
Bernhard Bernsmann

No that isn’t correct
I actually checked the box that if the directory didn’t exist, then have scriptcase create it.
So that means SC did it
I would think that it should make sure it inherits the parents permissions and not set its own

Kevin

[QUOTE=Kdriscoll;11469]No that isn’t correct
I actually checked the box that if the directory didn’t exist, then have scriptcase create it.
So that means SC did it
I would think that it should make sure it inherits the parents permissions and not set its own

Kevin[/QUOTE]

By someone else I meant another user. Depending on what server you are running SC it could be PHP/Apache’s user.

regards,
Bernhard Bernsmann

@Bernhard Bernsmann
dev’s might be able to offer filesize validation before uploading, using html5 now… :slight_smile:

The major problem is that if you have to upload a non-image that the filename is only shown after you have submitted the record. Personally I don’t like the checkbox for delete of the upload. If you check it, one might think it will delete the full record and it only clears out the binary field. If you upload an image, the image is shown immediately.