What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Passing Parameters with jQuery to custom thank you page

    Asked by fgroupindonesia on May 06, 2015 at 10:45 PM

     

    If in the last thank you custom page, there is a lot of HTML elements.

    Would it be possible if I get a Parameter just like GET Parameter works?

    And Lastly, Would it be possible if... inside the thank you custom page, i have a script of jquery?

     

    Because My purpose is once the form is submitted, and user go to thank you custom page, it should update a link inside it.

     

    For example if user submit data to :

    http://submit.jotform.me/submit/51255531601445/?link=http://www.w.com

     

    I want the variable passed could be retrieved,

    and also be processed in the thank you custom page.

     

     

    Page URL:
    http://pelatihan-kursus-komputer-bandung.blogspot.com/

    custom thank you jquery
  • Profile Image
    JotForm Support

    Answered by BJoanna on May 07, 2015 at 02:55 AM

    I am not sure exactly what you want to achieve but I don't think it's possible for Javascript/jQuery to read post data variables.  Server side scripting languages such as PHP, ASP, PERL, Java, etc. are the ones that can read post data variables.

    If you have e.g www.mywebsite.com/thankyoupage.php , you can use the option "Send POST Data" and the information in your submission will be easily fetched by your PHP script. 

    Here's the basic setup for "Thank You Page" option.

    http://www.jotform.com/help/211-Setting-Up-the-Thank-You-Page  

    Here's the guide on how to Send POST Data from JotForm to a PHP custom thank you page.

    http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page  

    In case that you want to have some query string on custom thank you page when user submits then you can follow instruction provided on this thread:

    http://www.jotform.com/answers/191835-Return-QueryString-Parameters 

    Hope this will help. Let us know if you need further assistance.