Cannot pass parameter in external URL link

  • deecox
    Asked on August 4, 2016 at 10:54 AM

    62153723101341

    In Step 2 of this form, in the link "Click here to go to the XE.com website ...", I am trying to pass the contents of the field {selectCurrency} in Step 1 of the form, using this link -

    http://www.xe.com/currencyconverter/convert/?Amount=1&From={selectCurrency}&To=GBP

    The jotform system has changed it to -

    http://www.xe.com/currencyconverter/convert/?Amount=1&From=%7BselectCurrency%7D&To=GBP

    In the address bar, when the XE.com website page is displayed, From={selectCurrency} is shown as being taken literally instead of the contents of the {selectCurrency} field.

    How can I pass the contents of {selectCurrency} instead of the literal text?

    If I hard code the currency code then the parameter is passed correctly. (as in "Click here" in the 5th pararaph following the header.

     

    Another couple of points -

    In the Jotform field {selectCurrency} I cannot remove the blank line at the top of the drop-down list. I just want EUR and USD displayed (with EUR selected) without the first blank line.

    How can I reduce the amount of space between Step 1 and Select currency, more like this -

    Step 1

    Select currency *

     

    and the same as the space under Step 2, Step 3 and Step 4.

     

    Many thanks for your help

    Dee Cox

  • BJoanna
    Replied on August 4, 2016 at 1:39 PM

    As far as I know it is not possible to pass parameter from form to external URL link.

    However there is a possible workaround. First duplicate Step 2 text field inside of your form.

    Cannot pass parameter in external URL link Image 1 Screenshot 30

    Then inside of first field add hard code link for EUR and in second duplicate field add link to USD.

    Then set condition inside of your form which will show field with EUR link if EUR currency is selected and second conditions which will show text field with USD if USD currency is selected. 

    Cannot pass parameter in external URL link Image 2 Screenshot 41

    Here is my demo form: https://form.jotform.com/62165348698974

    Feel free to clone it. 

    I have moved your other question to separate thread and we will provide you an answer there shortly. https://www.jotform.com/answers/898643 

    Hope this will help. Let us know if you need fuhrer assistance.