File upload: Change unique name

  • pagine
    Asked on April 18, 2018 at 3:57 AM

    Come posso cambiare il "nome unico" del campo "carica file"

  • aubreybourke
    Replied on April 18, 2018 at 9:38 AM

     

    Unfortunately it is not possible to change the filename of the uploaded file. You would have to download it to modify its name.

    However, it is possible to change the filenames when using Google drive or Dropbox integration. 

  • pagine
    Replied on April 18, 2018 at 10:56 AM

    1524063239Schermata 2018 04 18 alle 16 Screenshot 10

    1524063267Schermata 2018 04 18 alle 16 Screenshot 21

    field upload file, unique name?

  • aubreybourke
    Replied on April 18, 2018 at 12:26 PM

    May I ask why you would want the unique name for the upload field?

    Unfortunately there is none. However you can find the class name if you inspect your form:

    1524068726cd2t4 Screenshot 10

    Here the classname is "qq-upload-button"

    So you can use that if you like. 

    For example:

    1524068800d5s25 Screenshot 21

  • Brody_S
    Replied on April 18, 2018 at 12:29 PM

    Unfortunately, the "unique name" on the file upload element does not exist since that parameter is used to either pre-populate fields based on the URL, or to pass data to the form (for example, while sending an email, the unique name is used to pass that fields value to the email).

    Since the file upload field is used, well for uploading files, there is no need or use for it. As my colleague has mentioned, please let us know why you would like to use that fields unique name and we might be able to assist you further.

    Thanks

  • pagine
    Replied on April 19, 2018 at 5:00 AM

    I need it for automatic imports into my client's database, which he wants with a specific name

  • aubreybourke
    Replied on April 19, 2018 at 9:28 AM

    Are you using a webhook?

    How-to-Setup-a-Webhook-with-JotForm

     

    Or are you posting submission data to a custom thank you page?

    How-to-Post-Submission-Data-to-Thank-You-Page

     

    You should be able to retrieve the filename and pass that on to the database.

    For example:

    1524144480nnx7s Screenshot 10



    Working demo:

    https://form.jotform.com/81074427737966

     

  • aubreybourke
    Replied on April 19, 2018 at 3:26 PM

    Just to give you an update on the unique ID. You can view the unique IDs in your email settings. Your upload field should be there. 

    For example:

    1524165917emwus Screenshot 10

    Hope that helps!