Hello! :)
Is it possible to make a hybrid userreference field like on facebook's "relationship status" field?
That means if I'm typing a name in the userreference field the autocomplete function should provide suggestions for community users as usual... and if the name I've entered does fit to a registered community member then it should link to the user's profile as usual. But if the value I've entered does not fit the any of the community members the userreference field should accept that value but doesn't link to it.
I think it makes sense for functionalities like relationship statuses on profiles (i.e. married to user-xyz) and events - for in-house speakers (registered users) and guest speakers (not registered users).
Best regards,
Stefan
Comments
Comment #1
design.er commentedOops, I have to correct the module version. :)
Comment #2
markus_petrux commentedRelated issue: #167809: Nodereference optional
PS: This is not for CCK3, which is only 'remove buttons', multigroup and nested fieldgroups. Hence, something like this belongs to CCK 2.x.
Comment #3
design.er commentedOk, version 6.x-2.x is also absolutely welcome. :)
Thanks for the reference to the other issue - I'll subscribe.
Can you tell me if nodereference will work with the optional reference the userreference will work the same way?
Thanks for your help! :)
Comment #4
kswan commentedThe nodereference and userreference code is very similar so it should be pretty easy to port the patch in #167809: Nodereference optional to the userreference.module.
Comment #5
design.er commentedOk, thank you very much! :)
Comment #6
honza pobořil commentedIs it possible to integrate this function to userreference.module?