Page 1 of 1
How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-15 13:15
by nycwebmaster
How can I give a better info to the user when a file is uploaded instead of showing a little x? I want to give them a better graphic or text that the file is ok.
Re: How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-16 17:41
by pbottcher
Hi,
can you explain a little bit more detailed what you would expect.
Re: How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-17 12:06
by onoehring
Hi,
well, does the user know "the file is ok"? You could generate a checksum of the uploaded file and display that. The user could then generate a checksum of his original and compare those.
Olaf
Re: How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-17 15:27
by nycwebmaster
I want to give them a message that will indicate that the file is ok rather than the little red x that is currently showing like this:

Re: How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-18 06:59
by onoehring
Hi,
but you need to define what "file is ok" means. My suggestion was concerning the contents of the file.
The red x might be the option to delete the file (not sure right now)?
Maybe have a field that displays the filename once uploaded?
Olaf
Re: How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-19 20:23
by pbottcher
Hi,
I aggree, it would be helpful to understand what exactly you try to achieve.
You could try to add
$j('.clear-upload').text(' remove selected file')
to add some text to the "x".
Re: How can I give a better info to the user when a file is uploaded?
Posted: 2020-07-21 13:23
by nycwebmaster
Thanks! it worked!