Download PDF of a submission?

  • Profile Image
    sagehornung
    Asked on June 27, 2017 at 11:30 AM

    How can I  download PDF of a specific form submission? I  know I can do this while logged into the website but can I do this somehow from NodeJS? I have made an application that uses web-hooks so I know when the form is completed and I have the submission id I have also tagged myself with a hidden form field  and a UUID. I  want to programmatically link to a particular PDF submission so a user can download from my app. The other option seems to be to store it in S3 so I can have a link to it. I have found the Google Drive plugin and then a Zapier integration from Drive to S3 but this seems like a lot of work and then the naming scheme is not right because it uses the timestamp. 

    I see the web-hook has all the form data but then I have to parse it and recreate the form. This also seems problematic in the long run especially when I have a large number of different forms. 

    Any suggestions?

    Thanks

  • Profile Image
    BJoanna
    Answered on June 27, 2017 at 01:11 PM

    If you have submission ID you can use this link http://www.jotform.com/pdf-submission/{submission_id} and add ID of your submission instead of {submission_id}

    However, please note that this will work only when we are logged into your account.

    You also receive PDF report each time your form is submitted via email Notification, if you set PDF Attachment option to YES. 

    Hope this will help.