Downloading PDF Submissions

  • recoverit
    Asked on May 26, 2015 at 8:21 AM

    Hi there

    I have same problem when cloning forms USING JOTFORM FORM BUILDER.

    {"error":"Form not found: Form Id is missing or irregular.","success":false,"duration":"0.003"}

    The link I am using in the form is https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=%2051453061407346

    to reach the PDF result of the form

  • Boris
    Replied on May 26, 2015 at 8:27 AM

    If you are trying to clone the URL http://www.jotform.com/myforms/, please note that this is not a valid form URL. It is a listing page that lists your saved forms, and not a form.

    In order to clone a form, you need to use a direct link to a valid JotForm form, such as this as an example: http://form.jotformpro.com/form/51451491989972

    Please read the following guide about How-to-Clone-an-Existing-Form-from-a-URL

    Please let us know if you need further assistance, we will be happy to help you.

  • recoverit
    Replied on May 26, 2015 at 8:40 AM

    well guys,

    I have read your guide and I have made the changes in the THANK YOU MESSAGE changing the link to the PDF result, changed to  https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=%2051453061407346 

    Tell me what is wrong with above link

    Thanks

    BTW i am creating the forms from the menu option MY FORMS, found here on jotform.com :)

    Form i am working in:

    http://www.jotform.com//?formID=51453061407346


    Link:
     https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=%2051453061407346 

    The result is 

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid=308453606011104845&formID=%2051453061407346

    Whats wrong?

  • Boris
    Replied on May 26, 2015 at 9:01 AM

    OK, I can see what is wrong with the link you have provided. There is an accidental space added to the link that is breaking it. The space is encoded as %20 in the link.

    Please remove it from the link, by replacing this:

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid=%7Bid%7D&formID=%2051453061407346

    With this:

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid=%7Bid%7D&formID=51453061407346

     

    I'm afraid that our initial confusion came as you have posted in an old thread about cloning a form, and you have also mentioned cloning a form. :)

    Please let us know if removing that stray space (%20) resolves the issue for you.

  • recoverit
    Replied on May 26, 2015 at 9:11 AM

    Hi there

    Nope - it didnt help. - new type of error (ID not found)

    I am using this link (as you posted) https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid=%7Bid%7D&formID=51453061407346

  • Boris
    Replied on May 26, 2015 at 9:26 AM

    Please accept my apologies. While removing that space (%20) from the link that you have provided, my browser decided to encode the link even further...

    What you should do is only to remove the %20 from the link that you were originally using. If I'm not mistaken, this link should work:

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=51453061407346

    After placing it in your thank you link, the {id} should be replaced with the submission ID. From the example links you have provided above, the {id} would automatically change to 308453606011104845.

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid=308453606011104845&formID=51453061407346

    Please test it out and let us know if it resolved the issue.

  • recoverit
    Replied on May 26, 2015 at 10:58 AM

    No worries mate

    It solved the case.

    Just to clarify, what should the link look like ( I have 6 more forms to create, each because of google tracking)

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID=51453061407346

    - where 51453061407346 is the formid ?

  • Boris
    Replied on May 26, 2015 at 11:39 AM

    If you are looking for a way to avoid any numbers, and to just copy/paste this link from one form to another, then please use the link as follows:

    https://submit.jotformpro.com/server.php?action=getSubmissionPDF&sid={id}&formID={formId}

    The {id} will be automatically substituted with the submission ID of that submission.

    The {formId} will be automatically substituted with the form ID where the submission is made.

    I have made a demo form of this feature, which you can see here:

    http://form.jotformpro.com/form/51454116028953 (you can also clone it to take a closer look)

    Kind regards,
    Boris

  • recoverit
    Replied on May 26, 2015 at 12:30 PM
  • Charlie
    Replied on May 26, 2015 at 12:41 PM

    I believe that should work with the other forms, even if cloned or not. Please do check. 

    If you needed more information on this please do let us know.

    Thank you.