You're applying the entire array as the value, instead of just the selected
getField("locationDetails").value = aAddr;
getField("locationDetails").value = addr;
For some reason as soon as I change it to the way it should be I get "undefined" in the text box.
Make sure the export values of your combo are really 0, 1 and 2...
Perfect, thanks! I had the wrong numbers as my export value.