If you are using FORM, SQLFORM, or SQLFORM.factory, you can just pass the attribute to the instance.
form = SQLFORM(db.mytable, _autocomplete="off")
form = SQLFORM.factory(Field(...), _autocomplete="off")
form = FORM(INPUT(...), _autocomplete="off")
web2py will always be backwards compatible.
-Thadeus