I don't think this is possible using Google Places Autocomplete because Google does not provide any event callback hook when you receive places results from the server such as "result_received" or "data_received". I only find place_changed
event hook, nothing else.
I think if you want to achieve you goal, you need to make your own autocomplete list by using https://developers.google.com/places/documentation/search#TextSearchRequests
You can make Ajax Call to the server like the following whenever user enter a text(onkeyup event) to the following url.
https://maps.googleapis.com/maps/api/place/textsearch/xml?query=TEXT&sensor=fasle&key=AddYourOwnKeyHere
you will get the response from the sever, which would be like this, https://developers.google.com/places/documentation/search#PlaceSearchResponses
Then using those response, you build jQuery autocomplete list and catch user response. If the response has only ONE result, then you fill up the form automatically without waiting for user click event.
However, my question to you is "Worth It?" to make more code like this to save users' click?
I would rather go for UX approach by;
- Show 'Enter address and select the most matching one' message at the beginning
- When user selects an address, the proper address will show instead of the #1 message.
- When user reenter the address, the #1 message shows again until select one.