Save uploads into directory structure?

  • Profile Image
    MichalRousset
    Asked on August 05, 2012 at 07:50 PM

    Hi, I noticed that currently you do not allow submitted files to be saved in a more advanced folder structure when using dropbox, which you mentioned when somone else asked a similar question:

    http://www.jotform.com/answers/62283-how-can-I-seperate-the-folders-that-uploads-are-saved-to

    I would like submissions from my students to be sorted into a folder for their class, and then a folder by their name, and at the moment their is no facility to do this.

    I was wondering if this is something you are planning on adding at some point in the near future?

    However I noticed when a student accidently added a / symbol to their name, it created folders in multiple levels, so I was wondering if this would be a mechanism to allow this folder structuring to work? While I could ask my students to enter their name as, for example, "7F/Firstname", which would create the folder structure I'm after, I'm dealing with 100 twelve year olds, and I think that this would just get messy!

    When creating the folder names, you already concatenate the first name and the last name, is there a way you could add the / character to allow multiple folder levels? 

    Thanks,

    Michal Rousset

     

  • Profile Image
    NeilVicente
    Answered on August 06, 2012 at 04:25 PM

    Michael,

    I am afraid there isn't a way to automatically add the forward slash character in an entered value.

    A workaround I'd like to suggest to you is to create separate forms for each class and a 'menu form' which will conditionally display the form appropriate to the class (or section) selected by the student.

    The 'menu form' will work in this manner:

    http://www.jotform.com/form/12975925100

    Using this workaround, you will be able to achieve the same directory structure you're after.

    -- JotForm
      -- Class Name
        -- Student Name

    The solution I am proposing requires the use of Conditional Logic to hide or display the form (embeddeded using Free Text Tool).

    If you're interested, please hit me up so I can give you specific instructions on how this can be achieved.