Dropbox integration: Sending files to subfolders named from two different form fields

  • Profile Image
    jurullc
    Asked on February 11, 2017 at 08:42 AM

    I need to create a dropbox folder each time the end user select their name and a category. Bascially, I am interested in creating a dropbox folder that organizes the photos by that person's name and the category so I don't have to figure out who is the person and what category does this belong.  Is this possible?  

  • Profile Image
    Boris
    Answered on February 11, 2017 at 10:53 AM

    A Dropbox integration can be set to take the subfolder name only from one form field.

    This means that if you wanted to have a combined value of both Name and Category fields, we would need to use a workaround where we would first get both of these values into the same form field. We can achieve this by using a Text Box field, lets name it Dropbox Folder Name:

    Tip: We should hide this field, so that it does not confuse your users. We can hide a field by going to its Properties, Advanced tab, and setting Hide Field to Yes:

    Once our Text Box field is created, we can use an insert / calculate condition to insert the values of Select name and Select category fields into this newly added field:

    https://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Calculation-into-a-Field-Using-Conditional-Logic

    Now we have all the ingredients, and the selected values of the two desired fields will be placed into this third hidden field, so simply use this new field as your sub folder in the Dropbox integration:

    https://www.jotform.com/help/77-Upload-to-Dropbox-with-JotForm

    Please try it out, and let us know how it goes. Thank you.

  • Profile Image
    jurullc
    Answered on February 13, 2017 at 10:18 AM

    Worked perfectly...thanks so much.