URL redirection parameter

Hi,

I’ve been turning around for 2 days and I can’t do it. I would like when the user enters an address in the “#addressInput1”, and click on the “#boutton” that the user is redirected to an external site to a website with the value of the field parameter

Example redirection value :
external_site .com ?adress=input_value

Someone can help me how to do with the code or with an example code ?

Thank you

It’s not so clear what the parameter you wish to use,
The address input value is an object like this:

{
  "formatted": "Knoxville, TN, USA",
  "country": "US",
  "location": {
    "latitude": 35.9606384,
    "longitude": -83.9207392
  },
  "streetAddress": {
    "number": "",
    "name": "",
    "apt": ""
  },
  "postalCode": "undefined",
  "subdivision": "TN",
  "city": "Knoxville"
}

What should be the parameter in URL? latitude/longitude ? postalCode? formatted address? something else?

Hi J.D

Thank you for your reply.

We would like to get the formatted adress ( adress (number, street) + Zip + City + Country).

The url parameter exemple should be like this :

xxxxx.com?adress= 32 Jackson Avenue 23311 Sans francisco