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.
Google Drive integration: How can I use separate fields for folder and pdf names?Asked by suziebirdrescue on August 21, 2016 at 05:59 PM
I have my form set up with google drive integration. It asks for a main folder name and subfolder name (using field values). However the subfolder name it creates is the same as the name it gives to the pdf. Can these be separate options? I want all of the forms for each entry type (defined by field A) to go into one folder (based on field A) together but each pdf to have a unique name (based on field B).
Field A is pet type with options: CatNames or DogNames
Field B is a text entry field for favorite pet name
Both subfolder and pdf by field B
(FOLDER 1: FLUFFY)
(ENTRY 1: FLUFFY.pdf)
(FOLDER 2: Lassie)
(ENTRY 2: Lassie.pdf)
(FOLDER 3: Simba)
(ENTRY 3: Simba.pdf)
Both subfolder and pdf by field A
(FOLDER 1: CatNames)
(File 1: Catnames.pdf)
(File 2: catnames.pdf)
(File 3: catnames.pdf)
(Folder 2: Dognames)
(File 1: dognames.pdf)
(File 1: dognames.pdf)
(File 1: dognames.pdf)
Subfolder by field A
PDF name by field B
(Folder from OPTION 1 of field A: DOGNAMES)
(File 1 based on Field B entry: Buddy.PDF)
(File 2 based on Field B entry: Lassie.PDF)
(File 3 based on Field B entry: Lassie.pdf)
(Folder from OPTION 2 of field B: CATNAMES)
(File 1 based on Field B entry: fluffy.pdf)
(File 2 based on Field B entry: tiger.PDF)
(File 3 based on Field B entry: simba.pdf)
You can add condition rules using the Condition tool in your form that will control what will be field used as the sub-folder in your google drive main folder.
Combine the condition logic to the field name(value) that you will use as the custom folder name in Google drive.
User guide: How-to-Integrate-a-Form-with-Google-Drive
Here is a test form showing this https://form.jotform.com/62337027852961
Hope this help. Let us know if you need further assistanc on the idea I suggested.
thanks for the response but I think you have misinterpreted what I was asking. I already have it set up with conditional rules and such. The problem is the PDF it creates has the same name as the subfolder. I would like to use separate files to name the folder and PDF.
Separate field values that is
Unfortunately, it is currently not possible to have separate values for the sub-folder and the PDF file of the Google Drive integration. The value for the sub-folder will always be the value for the PDF.
It is also not possible to have all the submissions of a certain type go into a single folder, as this can cause some issues when the submissions have the exact values. This can lead to previous submissions being overwritten or getting mixed up.
It is more advisable to have each submissions go into different folders to make it easier to keep track of all the submissions in your drive, and to make sure the integration works properly. Nevertheless, if you would like, I can send your question as a feature request. First, let me see if I got all the details correctly.
-You would like to have two fields while integrating to Google Drive. These fields are the sub-folder name and the PDF name. Both of these fields will be based on the fields on your form. (Field A, field B)
-Each submission with a different value for Field A will have separate sub-folders. Submissions with the same value for Field A will have the same sub-folders.
-Each submission PDF name will be based on Field B. If this submission has the same name on Field A, then this submission will be sent to the sub-folder for Field A.
Please confirm that this is exactly the feature that you request, or you can add more details that might help our developers. However, please note that we cannot assure if or when this request may be implemented. I will be waiting for your confirmation.
You have the details correct.
And at least with google drive it seems OK to have submissions of a certain type go into a single folder. Google allows for duplicate filenames. I have it set like that currently so they are not all in individual folders and nothing gets overwritten...they just all have the same filename which is not very convenient if I need to find a specific one or something.
Thanks for answering and putting in the feature request!
Thank you for the confirmation of the details.
I have now submitted a feature request ticket using the details you provided.
We will notify you here for any updates/news on the status progress.