Topic: observe_field to work with auto_complete

So I have an auto_complete form that looks up users from a javascript array. I have an observe_field that will submit the name to a controller to update the user. The problem I have is that when I select one of the options from the auto_complete it submits what I have typed so far. For instance, if I type in 'de' and than select 'De Vries' from the list of users it sends 'de' to the controller instead of 'De Vries'. Any way of fixing this?