I have edited Dylan Verheul and Xavier Domenech autocomplete, so that it works with remote files, but i cannot figure out how to pass a second item from the array into an hidden field, or how to split the string after the comma so that it only returns the first half of the array.