
GetAddress.io API Script Modification
- or -
Post a project like this2369
£20(approx. $27)
- Posted:
- Proposals: 6
- Remote
- #2444608
- Awarded
Full Stack Developer| POS System Expert | Hybrid Mobile Application Developer | Web APP Developer | Graphic Designer | UI/UX

272166212441652784896165245227923342311461
Description
Experience Level: Entry
I am trying to get the output of line_1 line_2 and line_3 all on the same field called "address" instead of them all being on there own input field.
I am using the API from getAddress.io and the code i am using is below, i have tried to the best of my knowledge and hitting my head against the wall and need some assistance from the professionals :)
At the moment using that code is shows address like below:
Line 1: Flat 14 Line 2: Linden Court Line 3: Main Street
What i am trying to do is get the output on the same line like below:
Address: Flat 14, Linden Court, Main Street
$('#postcode_lookup').getAddress({
api_key: 'MYAPIKEY',
output_fields: {
line_1: '#address',
line_2: '#line2',
line_3: '#line3',
post_town: '#town',
county: '#county',
postcode: '#postcode'
},
onAddressSelected: function(elem, index) {
let postcode = $('#getaddress_input').val();
$('#postcode').val(postcode.toUpperCase());
}
});
All the information i have about this can be found direct on there website at https://getaddress.io/Documentation
I am using the API from getAddress.io and the code i am using is below, i have tried to the best of my knowledge and hitting my head against the wall and need some assistance from the professionals :)
At the moment using that code is shows address like below:
Line 1: Flat 14 Line 2: Linden Court Line 3: Main Street
What i am trying to do is get the output on the same line like below:
Address: Flat 14, Linden Court, Main Street
$('#postcode_lookup').getAddress({
api_key: 'MYAPIKEY',
output_fields: {
line_1: '#address',
line_2: '#line2',
line_3: '#line3',
post_town: '#town',
county: '#county',
postcode: '#postcode'
},
onAddressSelected: function(elem, index) {
let postcode = $('#getaddress_input').val();
$('#postcode').val(postcode.toUpperCase());
}
});
All the information i have about this can be found direct on there website at https://getaddress.io/Documentation
Jamie D.
100% (5)Projects Completed
9
Freelancers worked with
9
Projects awarded
20%
Last project
11 Jun 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies