Saving customized PDF depending on answers

  • aipp
    Asked on September 28, 2016 at 11:20 PM

    Hi guys. My goal is to save the form submission as a PDF to my google drive. 

    But the trick is that i don't want to save all of the fields, I want the PDF to be customized depending on customer's answers. Exactly how notification emails can be customized.

     

    For example: 

    Form Title

    Dropdown field 1 

    text field 1

    text field 2

    text field 3

     

    If dropdown field answer is 1. The saved PDF will have:

    Form Title 

    text field 1

    text field 2

    If dropdown field answer is 2. The saved PDF will have:

    Form Title 

    text field 2

    text field 3

    And so on. Is that possible?

  • Elton Support Team Lead
    Replied on September 29, 2016 at 4:24 AM

    Hidden fields (with empty answers) are not included in PDF submissions so that might be possible.

    So basically, you will have to create a condition in your form that show/hide form fields base on user's answer. Guide: https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    And then integrate your form with Google Drive so the submissions PDF will be automatically sent to your Google Drive account. 

    Hope this helps!

  • aipp
    Replied on October 3, 2016 at 2:32 AM

    That could be a good solution but... I do have many hidden fields that are needed in my pdf. some calculation fields and other fields that get data depending on answers. if i hide hidden fields wouldn't that  affect my needed hidden fields ?

  • Rose
    Replied on October 3, 2016 at 4:14 AM

    There might be a misunderstanding. 

    The thing you would like to do could be achieved using show/hide condition. Once you set your condition based on your workflow which was mentioned above and when your end-user selects option "2" for dropdown field, text field 1 will be hided automatically and not appear on pdf. 

    I created a demo form for your information. Feel free to clone it.  https://form.jotform.com/62762253489970


    This is the screen shot of my test submission on demo form. As you can see here, textbox 1 field is not show up on PDF. 

    Saving customized PDF depending on answers Image 1 Screenshot 20

    If you have more questions or need any further support by our side, please do not hesitate to contact us.