Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Autocomplete on login form does not work in all browsersAutocomplete on login form does not work in all browsers
Previous
 
Next
New Post
12/8/2010 8:35 AM
 
Hi,

I have just installed a website based on version 05.05.00 (653).

Autocomplete works on Firefox 3.6.12 (PC and MAC), but not on IE nor Safari (both Mac and PC).

I found one thread about injecting autocomplete to disable it in the login page, and a number of technical workarounds for this.

My question is then, how do I enable autocomplete on all browsers and platforms?
 
New Post
12/9/2010 3:15 PM
 
Hi,

Edit \DesktopModules\Admin\Authentication\Login.ascx.vb.
In Private Sub AddLoginControlAttributes() replace the ".Add("AUTOCOMPLETE", "off")" with ".Add("AUTOCOMPLETE", "on")".
You don't have to manually re-compile anything, and this will work on any DNN installation (not just source package). You can open this file in 'Notepad'.

BTW, I still don't understand why this is not a Host or Portal setting.
Thoughts, core team?
(please don't reply "because it's a security issue")

Thanks,
Horacio.-
 
New Post
12/10/2010 4:35 AM
 
Horacio,

Thanks for the advice. However, I did this, restarted IIS, but still no autocomplete on IE. Remains on FF.

Any other thoughts to what I might do?

/Stephan
 
New Post
12/10/2010 6:48 AM
 
Hello Stephan,

I've re-verified this works fine in FF and Chrome (once you confirm in the browser to remember the password. Both FF and Chrome ask you this).

in IE, I've verified (with the 'Developer Tools' add-on) that the text boxes have the 'AUTOCOMPLETE="on"'.
The username is remembered (I don't have to re-type it). However, the password is not being remembered by the browser.
The generated HTML (once Login.ascx.vb was edited) is fine:

<input name="dnn$ctr$Login$Login_DNN$txtPassword" class="NormalTextBox" id="dnn_ctr_Login_Login_DNN_txtPassword" style="width: 150px;" type="password" size="9" AUTOCOMPLETE="on"/>


Let's also try this change on the root default.aspx page:
...
<body id="Body" runat="server" >
    <dnn:Form id="Form" runat="server" ENCTYPE="multipart/form-data" autocomplete="on" >




Thanks,
Horacio.-
 
New Post
12/10/2010 8:51 AM
 
humm,, still no luck in IE. Maybe it is just that IE sucks :(....
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Autocomplete on login form does not work in all browsersAutocomplete on login form does not work in all browsers


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out