Can I add a variable from a Form to a URL in a condition?

  • Profile Image
    Asked on March 02, 2016 at 02:36 PM

    This is the URL I send to the payment company. It works fine.


    I would like to add a variable field value for each person that registers. JRREF

    This needs to be added to the end of the URL as &reference=JRREF

    How can I add this variable for each submission?






  • Profile Image
    Answered on March 02, 2016 at 05:47 PM

    Yes, you can add URL parameters to the thank you URL of your form. You can do this either to all form submissions, or by using a condition to only add it in some cases.

    To do it conditionally, based on a field selection or entry on your form, you can use conditional logic with "change thank you page" rules.

    From what I understand, the value will be static. All customers who fill out the form will be using the &reference=JRREF, and the JRREF value will not be changing on the form. Is this correct?

    If that is so, simply set your form's Thank You URL to your desired one:

    If you will be using a variable value, such that not every customer will use JRREF as its value, you can also forward any value from your form by suing its name tag:

    For example, a form field with name {reference} could forward its value in a link such as this:{reference}

    Please let us know if you need further assistance, we will be happy to help.

  • Profile Image
    Answered on March 05, 2016 at 09:04 AM

    Yes that works!

    Many thanks.


  • Profile Image
    Answered on March 05, 2016 at 03:16 PM

    Hello Robert,

    On behalf of my colleague Boris, you're welcome.

    Do not hesitate to contact us for any question you have.

    Best regards.