Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do you turn off autocomplete functionality from Password Field

New Here ,
Aug 08, 2013 Aug 08, 2013

I have a text field, type=password that I would like to prevent autocomplete functionality for.  Of course, this can be set in the browser, but do not see a property for input or cfinput to disable autocomplete for that field even if it allowed in the browser.

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 08, 2013 Aug 08, 2013

Dave,

You don't say which version of CF you're using.  The "autocomplete" attribute was not part of the HTML spec until HTML5.  Not all browsers supported it natively, either.  Since CF9 and prior versions predate HTML5, they won't know about the "autocomplete" attribute.

For a solution, you might look at this StackOverflow thread on disabling autocomplete.

HTH,

-Carl V.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 08, 2013 Aug 08, 2013
LATEST

Thanks, Carl.  We are currently on 9.x. 

--Dave

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources