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

    Can a value be passed through Thankyou Page Redirect URL

    Asked by markashton on June 10, 2011 at 07:05 AM

    Hi,

    Am using the Thankyou page redirect to send user to another form

    I would like to pass a value on form submission through the redirect url i.e.

    https://workflows-test.recurly.com/subscribe/premium?[first_name]={firstName} 

    This works proving the receiving form will do it:

    https://workflows-test.recurly.com/subscribe/premium?[first_name]=Dave

    However, I am getting the following value populating the field: {firstName} .... the field name...damn

    It appears it is not picking up this value in the Thankyou redirect url. Can you advise me whether Jotform can do this

    Thanks

    Regards Mark

    JotForm name
  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 10, 2011 at 05:00 PM

    Hi,

    Field identifiers (with curly brackets) cannot be used to pass values to forms outside of Jotform. Heck, it can't even be used to prefill forms created with Jotform.

    The only way to accomplish this workflow is to use a PHP 'bridge' page which will fetch submitted information from your form and then pass those information onto your real custom Thank You URL.

    Take this form for example. It might seem that the Thank You URL for the first form is set to the second form's url, but the truth is that I used a PHP 'bridge' page to transfer values from the first form to the second one.

    Visit this discussion thread to learn how I achieved this. Note that it will take some custom PHP scripting to pull this one off.


    Neil

  • Profile Image

    Answered by markashton on October 25, 2013 at 03:20 PM

    Hi,

    Can you tell me whether this technique is possible now ... I'd like to pass some values through a Thankyou Page Redirect Url .... directly into another form ... the user just hits submit on the first form and is then left looking at a new form with their name pre-filled.

    Thanks Mark

  • Profile Image
    JotForm Support

    Answered by ardy0689 on October 25, 2013 at 03:40 PM

    Hello Mark, Yes this possible now. I just tried it now. It works by passing the dynamic value into the Thank you redirect URL. You could also use this Field Prepopulator App just in case to help you on the values. Thanks

  • Profile Image

    Answered by markashton on October 25, 2013 at 03:53 PM

    Thanks ... can you just post the url of the first form so that I can try it and see this happening.

    I'd be most grateful

    Many thanks Mark

  • Profile Image
    JotForm Support

    Answered by Mike_T on October 25, 2013 at 04:17 PM

    Please check the following example, link to the first form:

    http://form.jotform.co/form/32976492414866

    Thank You URL value that is redirecting to the second form and populating it:

    http://form.jotform.co/form/32976304620857?fullName1[first]={fullName1:first}&fullName1[last]={fullName1:last}

    Thank you.

  • Profile Image

    Answered by markashton on October 26, 2013 at 08:40 AM

    Mike,

    Nice one. Works a treat. 

    Thanks ... No reply required