How to show form data and submission PDF URL in custom thank you page?

  • Profile Image
    tracyalexander
    Asked on April 24, 2017 at 12:42 AM

    I would like to add my application reference number and a copy of the submission in pdf format to my thank you page but I do not understand how to do this.  I did this when my thank you page was part of jot form but now I am using a paypal payment on my form I want users to be taken automatically to my thank you page and think this is only possible when I have it on my own URL

    Thank you page is https://www.caithnessshow.co.uk/thank-you

    Thanks for your help

  • Profile Image
    ashwin_d
    Answered on April 24, 2017 at 02:29 AM

    Hello tracyalexander,

    Please note that it is possible to achieve your requirement by taking advantage of POST method. You can post the form's submission data to your own thank you page and read the POST data to display in your page. You may like to take a look at the following guide which should help you:  https://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

    To add a submission PDF download link in your own thank you page, I would suggest you to please add the following URL in your thank you page and then replace the form ID & submission id:

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

    Submission ID you will get in form's POST data and form ID can be hard coded.

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    tracyalexander
    Answered on April 24, 2017 at 12:07 PM

    Hi

    I have done this but am unsure if what I have done is correct.  Can you have a look at my screen print to see if what I have done, I have highlighted the text in yellow that I am not sure on.  I dont think I should be putting in a submission number as surely this is unique every time

    I am getting a 403 error after submission but think this may have something to do with my website so am checking this out.  Could you indicate if it is jot form or paypal that this error will be to do with

    Thanks very much

     

  • Profile Image
    Kiran
    Answered on April 24, 2017 at 02:33 PM

    I have tested the custom Thank you page redirection after making a payment using PayPal and it worked fine at my end. I was able to see the POST data in the thank you page after making the payment. 

    I notice that your web page is built using Wix website builder. I am not sure if you can add any custom PHP code to your web page in order display the data using POST. We request you to check with Wix once if it allows reading the submission data from your web page using POST and get back to us for any further assistance.

    Thanks!

  • Profile Image
    tracyalexander
    Answered on April 24, 2017 at 04:14 PM

    Hi

    Ok, I have figured out when I have HTTP POST data to Thank You Page. as yes I get the forbidden 403 message up.  When i turn HTTP POST data to Thank You Page. to No I am redirected after submission to my thank you page on my website.

    I have asked wix if there is any thing I need to do to my website settings as it is the HTTP POST data that seems to be the problem.

    Have you any suggestions

  • Profile Image
    Kevin_G
    Answered on April 24, 2017 at 06:56 PM

    I think the issue is related to the fact that Wiz does not support PHP codes, this may be the reason why you cannot use the send POST feature nor get the variables properly. 

    I found an article from Wix about it:  https://support.wix.com/en/article/request-using-php-programming-language 

    You would need to store your custom thank you page in a 3rd party app that allows to use PHP or on your own server. 

    Otherwise, you would need to use the default thank you page to show the info you need.