Can a value be passed through Thankyou Page Redirect URL

  • Profile Image
    markashton
    Asked 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

  • Profile Image
    NeilVicente
    Answered 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
    markashton
    Answered 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
    ardy0689
    Answered 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
    markashton
    Answered 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
    Mike_T
    Answered 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
    markashton
    Answered on October 26, 2013 at 08:40 AM

    Mike,

    Nice one. Works a treat. 

    Thanks ... No reply required