This is a great module! It would be terrific if this widget could be available to nodereference fields too (in addition to text and integer). Being able to define the list of autocomplete options with PHP is way better than having to use Views for complex queries.
I tried writing a patch. When I realized my integer field (that was being populated with nids) would not be exposed to Views later for relationships, I opened up nodereference, and then I decided this is probably not the best place for me to write my first CCK module/patch. But I'd be happy to help, test, document, etc. if anyone is else is interested in this too.
Comments
Comment #1
markus_petrux commentedThis module implements widgets for Text and Number fields, but the Allowed values feature is provided by those fields, not this widget.
The nodereference field does not implement the Allowed values feature, so a simple new widget for nodereferences cannot take advantage of the same features we can enjoy here.
What you're requesting requires a modification of the nodereference module itself to implement the Allowed values feature that Text and Number fields provide. So you need to knock the door of CCK. However, I think it won't be done unless a patch is provided and tested by enough users.