Geographic Places Searchbox value vs. typed text

I have a search box with geographic places (from Google Places). When the user doesn’t select a value from the google places suggestions the value recorded in the data base is not the typed text but a seemingly random location. Similar to the value vs. typed text, I’d wish the geo locations so that if the user leaves a typed text which is not a google place, it can be recorded in the database and displayed accordingly. Is there a work around how do you guys do that?