autocomplete=off ?

krichel

New member
How do I get rid of autocomplete for special fields?
It can be very annoying, especially for the datepicker.
 

eugenio

Administrator
Staff member
Hello,
if you mean browser autocomplete, at the moment there isn't any built-in parameter to disable it.

You can try to modify this line in /views/form.php

$form .= "<input".$disabled_attribute." type=\"text\" name=\"".$field_name_temp."\"";

to

$form .= "<input".$disabled_attribute." autocomplete=\"off\" type=\"text\" name=\"".$field_name_temp."\"";

I haven't tested it so I can't guarantee but it should set autocomplete off for most of the field types (which is, maybe, not what you want but you could add some if statements related to the field type).

Best,
 
Top