Solved

Strange Password Field Behavior in Internet Explorer

Posted on 2013-12-06
1
1,371 Views
Last Modified: 2014-01-07
I am trying to identify what is causing a problem in Internet Explorer on a simple form.

Here is the very simple form I'm using.

<!DOCTYPE HTML>
<html>
<body>
<form class="form" id="signup" method="post" action="index.php">
Password <input id="passwd" type="password" name="passwd" value="existing"  /><br />
Confirm <input id="pw_confirm" type="password" name="pw_confirm" value="existing"  />
</form>
</body>
</html>

Open in new window


What is happening is that on Chrome this form works fine and the two password fields both have the dots filling the field to hide the data.

But when I open this form in Internet Explorer, the password dots for the second field, "pw_confirm" do not show.

Then the strange thing. If I add a third password field, called filler, the dots all of a sudden appear in the "pw_confirm" field.

I've cleared my cache. I've set them all to "text" to see if the value is carrying over (which it is). I've flipped around the order. But no matter what I do, in IE I cannot get the pw_confirm to show unless I add the third.  

If I flip the order around, then the "passwd" field skips the dots.  If I go to a single field, then they show.

So the bottom line is that when you put two password fields one right after the other in internet explorer, the second doesn't show.

Any insight into why this is happening would be appreciated.

The following two images show how my IE browser is behaving. Note, although the pictures show the two paragraph tags, I've replaced them with a break and it still misbehaves.

The file showing the error.
File that shows the error in the second field.
The file showing the no error.
File that shows the field working properly when extra field is added
I'm running IE 11.0.9600.16428.
0
Comment
Question by:pkonstan1
1 Comment
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 225 total points
ID: 39702745
It would seem that this is a known issue :

http://social.msdn.microsoft.com/Forums/ie/en-US/7d02173f-8f45-4a74-90bf-5dfbd8f9c1de/ie-11-issue-with-two-password-input-fields?forum=iewebdevelopment

Suggest you do what you're doing that is to add a third password field and make it hidden.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question