Good Day,

Been searching but nothing. Can anyone help? I am trying to disable the autocomplete in my cck form. Can this be done using CSS or can this only be done by using a hack? Any info is appreciated

Thank you,

Mark

Comments

BioALIEN’s picture

Autocomplete is triggered via Javascript using jQuery. It has nothing to do with CSS.

Hope this puts you in the right direction in your search :)

---
Dee
iScene Interactive :: iScene.eu

mrgoltra’s picture

well all I did was disable the autocomplete.js file located in misc folder. Thank you much for the info.

wwwoliondorcom’s picture

Hi,

Do I just need to delete this file to disable autocomplete in forms (taxonomy / free tagging) ?

Thanks.

mrgoltra’s picture

autocomplete.js.disable in the misc folder.

wwwoliondorcom’s picture

Hi,

I did this but I still have the HTTP error 0

website/taxonomy/autocomplete/5

how is it possible ?

Thanks.

cgjohnson’s picture

Opposite problem -- I want to ENABLE autocomplete for a CCK text field, because it isn't doing that -- even when I add values to the CFK field values list. Ideas?
thanks

twopointoh’s picture

I recently needed to do this too - I have one form on the entire site that I do not want auto complete for, but I did for all the rest!

Anyhow if you add display:none!important; to the forms/form it appears in it will not show it:

.myform #autocomplete
{
display:none!important;
}

Huzzah! Hidden for that form, but still allows me to have auto complete functionality elsewhere.

shaynl’s picture

This is working for me:
Put <FORM AUTOCOMPLETE="off"> under the body in page-node-add.tpl.php

EDIT: It's not working well...looking for other solution...

sahar999’s picture

I solved the problem with
unbind('keyup'); jquery function. I didn't want to delete the core file and the other methods doesn't solve the problem in my site. I add this to my form
$('.form-autocomplete').unbind('keyup');
$('.form-autocomplete').removeClass('form-autocomplete');

BigMike’s picture

Is there a module that will allow one to choose which javascript files are loaded? In other words, is there a module that will let us control what actually prints out when <?php print $scripts ?> is called in page.tpl.php? Or is there a way to control this somehow? Then we could just prevent the script from being called in the first place.

Thanks!
Mike