What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Google Drive Integration: Redirect uploads to specific folders?

    Asked by GoBlueAdmin on May 21, 2015 at 09:51 PM

    Hi, I want to allow users to upload via Jotform to a folder in Google Drive, but I don't want it to create a new folder each time.

    I would also like the upload to be directed to an existing specified folder based on the form submitted (i.e. each upload goes to a specified user folder for that user).

    Is this possible?

     

     

    Page URL:
    http://form.jotform.co/form/51407758370862?

    JotForm new folder create Via
  • Profile Image
    JotForm Support

    Answered by Charlie on May 22, 2015 at 12:22 AM

    Hi,

    Unfortunately, it is not possible to redirect the uploads to specific folders. 

    The reason why it creates a new folder for each submission is because the submission will include 2 or more files, one by default is the PDF submission, and the others are the files uploaded. If each submission will be uploaded in the same folder like the others without categorizing them, all the file uploads will mixed up, and it's possible that PDF submissions or files with the same file name will overwrite the other, causing a lost of data.

    What might be a possible feature request is having a built in conditional logic in Google Drive integration to upload the submissions to a secondary folder depending on the custom submission name. Example:

    Default Folder Structure:

    --Google Drive Main Folder:

    ----Sub Folder 1 (Example Name: January Reservations)

    ----Sub Folder 2 (Example Name: February Reservations)

    If for example the submission folder name is set to have a custom name {submission ID}-{LastName}-{month field}. The conditional logic can use the {month) field to redirect to specific folder. 

    Example, the user submitted the form, a submission folder will create this folder name: "1234567-Smith-February". In the Google Drive folder structure, it will be placed like this:

    --Google Drive Main Folder:

    ----Sub Folder 1 (Example Name: January Reservations)

    ----Sub Folder 2 (Example Name: February Reservations)

    --------"1234567-Smith-February"

    If user's submission is "2468791-Carter-January". The folder structure will be:

    --Google Drive Main Folder:

    ----Sub Folder 1 (Example Name: January Reservations)

    --------"2468791-Carter-January"

    ----Sub Folder 2 (Example Name: February Reservations)

    --------"1234567-Smith-February"

     

    If this is something that can be useful for you, I can send it as a feature request but cannot guarantee that it will be implemented anytime soon, it will depend on our developers if this is feasible or not.

    I hope that helps.

  • Profile Image

    Answered by editnewsigns on March 01, 2016 at 09:38 PM

    I would love to see the ability to use dynamic file and/or folder names in Google Drive. Currently with the submission ID as both the subfolder name and the .pdf file name, its not very visually or administratively friendly. Dynamic subfolder names from form elements: {location}-{technicianID}/{location}-{technicianID}.pdf, for example.
  • Profile Image
    JotForm Support

    Answered by Charlie on March 02, 2016 at 01:52 AM

    @editnewsigns

    Thank you for sharing your insight on this, to better assist you, I have opened a separate thread for your concern. Please refer to this link instead: http://www.jotform.com/answers/785355. We will address it accordingly.