Announcement

Collapse
No announcement yet.

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    bump.. anyone? help...

    Comment


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

      For me it was simple, I forced the option image(filename) and overwrite the file nm_trata_img.php in the _lib/lib/php directory after the generae or deploy.

      I think for the moment it's the only solution because the dev team are not capable to do it.

      Comment


      • #4
        Hello,

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

        regards,
        Bernhard Bernsmann

        Comment


        • #5
          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

          Comment


          • #6
            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...

            Comment


            • #7
              Originally posted by Kdriscoll View Post
              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
              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.

              Originally posted by poltergeist View Post
              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...
              Our development team is working on new features and improvements to the inputbox.

              regards,
              Bernhard Bernsmann

              Comment


              • #8
                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

                Comment


                • #9
                  Originally posted by Kdriscoll View Post
                  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
                  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

                  Comment


                  • #10
                    @Bernhard Bernsmann
                    dev's might be able to offer filesize validation before uploading, using html5 now...

                    Comment


                    • #11
                      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.
                      Albert Drent
                      aducom software netherlands
                      scriptcase partner, reseller, support and (turn-key) development
                      www.scriptcase.eu / www.scriptcase.nl

                      Comment

                      Working...
                      X