I'm trying to change the autocomplete path of a node reference field (References module) with a custom module using
I have no problem changing any property of the field except the ["#autocomplete_path']. when I set another value for this, the field loses its autocomplete feature. (The hidden autocomplete field isn't there anymore as well) I find this totally weird, and haven't found anything about this in issue queues or anything like that.
Just FYI, I've setup a new MENU_CALLBACK path with
hook_menu() and a callback function, so I'll be able to return JSON suggestions depending on some custom parameters and the value of another field.