Disable autocomplete completely
Disable autocomplete completely
kaustubh.agrawal2000
Posts: 88Questions: 39Answers: 2
in Editor
Hello,
I want to disable chrome/browser autofill/autocomplete the form fields with previously saved data.
I understand that it can be done by adding autocomplete="false" tag to form element.
but with datatables editor how do I add that to form element ?
Regards
Kaustubh
This discussion has been closed.
Answers
Hi @kaustubh.agrawal2000 ,
Yep, as you said, the
autocomplete
flag is the way to go. See this example, it's disabled autocomplete on the name field, but not on the others,Cheers,
Colin
@colin
isnt there a better way to disable autocomplete for entire form rather than doing it for every field seperately ??
I think its too tedious to add the attr object fro every field...
Yes, you can set a default for the field options:
Allan