From jotform field value to dynamic url

  • Profile Image
    gorlando
    Asked on July 05, 2012 at 09:54 AM

    I want to use something like the following to put in html of a jotform.

     

    but i want the value that a user enters into my jotform to populate the

    itemprice

    and the email2 fields

    how can i do that?

    <a target="_blank" href='https://www.chainedpayments.com/EZChain/go.php?ButtonID=M7C096KLO1VB0KU999P323B88&ItemPrice=50.00&Email2=test%40yahoo.com' rel="nofollow noopener" ><img src='https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif' title='Buy Now' border='0'></a>

  • Profile Image
    jeanettebmz
    Answered on July 05, 2012 at 06:35 PM

    I think you can use our Paypal integration to accomplish what you are looking for.

    Pleased check this guide, for further details

    If you still need assistance, let us know.

    Jeanette

  • Profile Image
    gorlando
    Answered on July 05, 2012 at 06:47 PM

    I don't think that will help me.

    I need to add parameters to a URL based on field values in jotform.

     

    if a user enters in their email, I need to append it to an existing url string

    I would need to dynamically change

    <a target="_blank" href='https://www.chainedpayments.com/EZChain/go.php?ButtonID=M7C096KLO1VB0KU999P323B88

    to

    <a target="_blank" href='https://www.chainedpayments.com/EZChain/go.php?ButtonID=M7C096KLO1VB0KU999P323B88&email2=xxx@yahoo.com

    I suspect it's above the normal functions of jotform, but I have to ask anyway.

  • Profile Image
    jonathan
    Answered on July 06, 2012 at 05:02 AM

    Hi,

    I can do this using the link in the form custom Thank you page.

    Please see this form.

    When submitted, there is a link in the thank you page. The link is a pre-populated URl base on the form field values.

    Please inform us if this is not enough to what you need.

    Thanks.

  • Profile Image
    gorlando
    Answered on July 07, 2012 at 02:21 PM

    perfect.  Thanks a million. This will enable me to move to paid account

  • Profile Image
    jonathan
    Answered on July 07, 2012 at 04:45 PM

    You are quite welcome. Feel free to contact us anytime should you need further assitance with JotForm.

    Thanks.

  • Profile Image
    LinkedCycling
    Answered on June 09, 2016 at 05:28 PM

    The sample you provide above doesn't work and doesn't explain how it is actually done.  I have the same need where I am running a calculation based on answers and need to take the resultant {result1} and pass it into a url: www.testwebsite.com/{result1}

    Where example result1 = 50 than url = www.testwebsite.com/50

    Your help is appreciated.

  • Profile Image
    jonathan
    Answered on June 09, 2016 at 06:42 PM

    @ LinkedCycling

    I see you have created your thread here https://www.jotform.com/answers/857472

    We will respond to you on that thread instead.

    Thank you.