How do I Display a Thank You Message Containing the Submission ID, on my Site Instead of JotForm

  • Profile Image
    HeppiDeals
    Asked on March 26, 2013 at 04:23 AM

    Hi aytekin,

    For Thank You page, I wanna display the order number which is derived from the form. If I choose custom URL, will it display the order number?

  • Profile Image
    abajan
    Answered on March 26, 2013 at 08:18 AM

    Hi,

    To my knowledge, that's not possible. However, if you use the Thank You message option instead of Custom URL,


    the submission ID will appear in the message if {id} (the tag to display the submission ID) is included that message, as happens when this demo is submitted.

    Nevertheless, I'll leave the thread open in case my colleagues have better suggestions.

    Thanks.

  • Profile Image
    abajan
    Answered on March 26, 2013 at 08:22 AM

    I forgot to mention that if you want the thank you message to be displayed on your site, embed the form via the iFrame method instead of using the full source:

  • Profile Image
    aytekin
    Answered on March 26, 2013 at 08:26 AM

    Yes, you can do it. Use Send Post Data. Name your thank you page thankyou.php and use PHP code to show submitted data. 

  • Profile Image
    HeppiDeals
    Answered on March 26, 2013 at 11:09 AM

    Hi Aytekin,

    Thanks for your guidance. Now I am able to retrieve the order number (which is the Unique ID) but please show me how to retrieve the total amount of my order form.

  • Profile Image
    aytekin
    Answered on March 26, 2013 at 12:46 PM

    You can find a list of variables you can use on the Email Alerts section. 

  • Profile Image
    HeppiDeals
    Answered on March 27, 2013 at 03:28 AM

    Hi aytekin,

    I mean I am not able to retrieve the total amount (which is within the Purchase Order) to display at Thank You page via Send Post Data.

    Please help.

  • Profile Image
    jonathan
    Answered on March 27, 2013 at 06:34 AM

    Hi,

    You can also use this guide Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page to be able to capture the 'total' field vaule from your form. Looking at your form source code, the field ID# for 'total' is payment_total. Use this ID to post the total.

     

    Hope this help. Inform us if you need further assistance doing this.

    Thanks.

  • Profile Image
    HeppiDeals
    Answered on March 28, 2013 at 09:46 AM

    Hi Jonathan,

    Thanks for your guide but I still can't get it.

    I can't see the "Send Post Data" is passing the total payment value.

    May be could you show me a simple code of how to extract that total payment value by using PHP?

  • Profile Image
    EduardoMendez
    Answered on March 28, 2013 at 10:09 AM

    Hi there, 

    Is there a particular reason why you need it to be on your own page?  

    Would editting the Thank you msg be a possibility? 

    If so, here is a sample of a form which does that:

    http://form.jotformpro.com/form/30863607901959?

    the tag corresponding to the purchase field {pleaseSelect} is found on the e-mail notification wizard.

    Once you know that tag, you can place it on your Thank You msg.

    If you only want the total of the purchase field, simply add to the tag :total 

    So, the tag on your thank you page shouls look something like this:

    {pleaseSelect:total}

    Same with the order number {orderNumber}

    Simply add those tags to your "Thank You" msg.  Please give that a try an let us know if that helps!

  • Profile Image
    HeppiDeals
    Answered on March 28, 2013 at 10:32 AM

    Hi there,

    Thanks for your reply. It is because I don't want user to see jotform URL at Thank You page.

    Will that {pleaseSelect:total} display the value if the Thank You page is my own URL?

  • Profile Image
    EduardoMendez
    Answered on March 28, 2013 at 10:42 AM

    Here is a version of my form embedded on an iFrame:

    http://learnspanish1on1.com/Testing/testiframe.htm

    As you can see, the URL is that of my site not Jotforms.

    Can that be a solution?

  • Profile Image
    HeppiDeals
    Answered on March 28, 2013 at 10:47 AM

    Hi there,

    But the thing is my form is embed in my page by using source code because I wanna display image on mouse over in the purchase order (http://www.heppiface.com/heppideals/order.html).

    That is why the Thank you page will display jotform URL, it can't display in an iframe.

    Thank you.

  • Profile Image
    EduardoMendez
    Answered on March 28, 2013 at 12:42 PM

    Hi there, 

    Perhaps:

    1 - Embedding the form on a web page on your server (using the source code in order to achieve the image on mouse over) but with a custom Thank You msg as I have explained.

    2 - Taking the URL of that working page and embedding it on an iFrame.

    ie

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//www.heppiface.com/heppideals/order.html " frameborder="0" style="width:100%; height:469px; border:none;" scrolling="no"></iframe>

    http://learnspanish1on1.com/Testing/testiframe.htm

    Would that be a solution?

     

     

  • Profile Image
    HeppiDeals
    Answered on March 28, 2013 at 11:47 PM

    Hi Eduardo,

    I get what you mean and thanks for your idea.

    I already change my Thank You page to custom thank you message instead of redirect custom URL. When I test again, it still redirect to the custom URL.

    May I know why?

  • Profile Image
    jeanettebmz
    Answered on March 29, 2013 at 12:33 AM

    Did you re-embed the form?  Since you are using the source code of your form, and you have performed these changes, you would need to grab the code and re-embed it into your webpage to see the changes

  • Profile Image
    HeppiDeals
    Answered on March 29, 2013 at 02:07 AM

    Hi there,

    My form now working as my wish.

    Thank you very much for all of your effort on this issue!

  • Profile Image
    gori-mathew
    Answered on March 29, 2013 at 02:40 AM

    Hi,

    On behave of my colleagues you are welcome, do enjoy using JotForm and do feel free to contact us whenever you need our servises.