Fred_Luddy
ServiceNow Employee
ServiceNow Employee

Here's how it should have looked on stage today

As the user types in the post / zip code area, parts of the address are filled in on the form

The angular client code below 'watches' the input and then calls the server to do the geo lookup

find_real_file.png

The server calls out to a public google API to get the information which is ".then" returned to the client in the function above

find_real_file.png

All of this is made easy using JSON, and XHR

Comments
Manjul Katare
ServiceNow Employee
ServiceNow Employee

Fred - You are the best !!!!!!!!!!!!!


Version history
Last update:
‎05-19-2016 05:24 PM
Updated by: