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

    Send Post Data to redirected page's URL?

    Asked by reciproc8 on November 19, 2013 at 12:20 PM

    Hey guys
    I need to send some of the entries in the webform to the thank you page's URL.  I am using a custom redirect.  Is this possible?


    The forms I am speaking of have a hidden field that is being used to identify which page the webform was filled out on.  I'd like to have JUST that info appended to the 'thank you' page's URL.

    Is this possible and if so how?



  • Profile Image

    Answered by KadeJM on November 19, 2013 at 02:24 PM

    I think this may be possible but I'm not quite sure I understand which way you are trying to take this since I am slightly confused. Can you please tell us more about the thank you url that you are intending to have used? If I'm understanding you, you're using a Custom Redirect URL but is this going to redirect from a Thank You Page here on the Form's Set Thank You Page depending on how you configured it or do you already have it redirecting to a different thank you page of your own such as on an exhisting one that you have on a website of yours? Please correct me if I have mixed any of this up.

  • Profile Image

    Answered by reciproc8 on November 19, 2013 at 09:19 PM

    Heres whats happening..


    Page 1:
    Applicants land on this page where the jotform webform is.  They will out the application form and get redirected to page 2, which is an Aweber web form.  

    Page 1 will look something like:
    www.mydomain.com/page1/?s=CL-nyc  (the ?s=cl-nyc  is there so we can identify where the traffic is coming from)


    So on the webform, I have it configured so it tracks which page the application form was filled out (since we have 4 variations for teting).  What I am wanting to have happen is have that info passed along to the next page's URL

    Page 2 (with Aweber web form)
    www.mydomain.com/page2/?=page1_s=CL-nyc  <<------ or whatever (formatting is probably incorrect)

    But I need that info passed on to 'page 2's' URL so that when they opt in to Aweber, Aweber picks that up and we can see which page is getting the best responses.

    Hope that makes sense 

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 20, 2013 at 06:38 AM

    Hi there,

    Yes that's possible.

    I think this guide discussed similar to that.

    Send POST Data From JotForm Using PHP in Custom Thank You Page

    An example would be:


     $referrer= $_POST['referrer'];



    Just replace referrer (color blue text above) with the field name from your first form which you'd like to be placed on the page1_s= as value. If you're not sure where to get field names, check this visual guide:

    Let us know if you require further assistance. Thank you!
  • Profile Image

    Answered by enerjoustme on May 16, 2017 at 01:54 PM

    I don't get it. Can you put the full code?

  • Profile Image
    JotForm Support

    Answered by Welvin on May 16, 2017 at 02:49 PM

    You are using Get Form Page URL on the first form. You can simply do this with conditional logic without using the Send Post.

    Demo form:






    Here are the actual conditions in the form:

    You could just build the redirect URL in the conditional logic based on the Page URL where the form is submitted. Ex:

    If the form is submitted here www.mydomain.com/page1/?s=CL-nyc


    Redirect it here www.mydomain.com/page2/?s=CL-nyc 


    I hope this works for you. Let us know if you need further assistance regarding this matter.