By ariel24617 on
I'm not experienced in coding. Just want to building some very simple website.
In one of the content types that I customize, I created a new CCK field that's of the type "user reference", and I chose it to be a text field. But it comes with autocompletion, which is a privacy concern. How do I turn that off?
Similarly for the "Title" of the content type, can I somehow disable the autocomplete function? I find it too... verbose...
Comments
The title field is not auto
The title field is not auto complete, that is probably your browser trying to be helpful.
How are you using the user reference field, without auto complete it's not real useful.
I see... The user reference
I see...
The user reference field autocomplete is still an issue.
I want users to submit info about who on this site they actually know: a name they prefer to use to refer to the acquaintance, plus the acquaintance's username. So that I can compile contacts lists for them with views.
I don't want to use the already existing modules like "organic group" or "user relationship", because they are way too big and not really suitable for a simple task like this.
Also, in the privatemsg module, a user enters username they want to message. That's autocompleted as well, and also a problem...
Did you find a solution to
Did you find a solution to this?
Thanks,
Steve
Steve Kessler
If you disable the
If you disable the autocomplete.js file located in misc folder (for instance by changing the name into autocompletejsDISABLED) then ALL autocomplete functions stop working ;) . I was so happy when I found this!
I have the same need. In my
I have the same need. In my case I'm using as widget noderelationships, where users can also add or edit child nodes remaining on the same page.
The problem is that I want users to ONLY to edit or add child nodes, preventing them to select esisting nodes with the autocomplete.
So, is there a way to prevent JS autocomplete on a specific field? With rules? With a custom module?
Dido sylvaticus
I'm working on this right now. Simply want to disable autocomplete on a user reference field --I am automatically filling in this field with another field in my node edit form using rules. It's rather complicated to explain but I would like to do exactly as you.
As I recall, using Rules, you
As I recall, using Rules, you need to pass the User ID to the field, not the username. The autocompletion is not loading the data that will be saved; rather, the widget displays the username because it's more friendly for content editors. See line 451 of userreference.module
As I recall, using Rules, you..
You're right. That is exactly the solution :)
Similar question
I have a content type named Seminary and there is the Speaker field which is used to refer the registered users. Sometime there will be some Guest Speakers, so they are not registered on the site. I'd would the autocomplete field be able to search registered user, but also save the Speaker name I entered.