• Post Reply Bookmark Topic Watch Topic
  • New Topic

Default value in fields

 
Sky Seow
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i am having this 'bug' when i tried to run my application using firefox browser. At my login page, the user will display a default value of '123' and password field will display a '*'. However, i did not even define a default value for both fields. I don't have this problem using IE though.
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I don't think this is default values, I think this will just be firefox's password manager remembering a previous username/password that you have used.
If you clear all your user data in firefox it should clear and I think there are some options for stopping it remembering somewhere in the preferences.

Sean
 
Sky Seow
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to workaround this? Because i afraid it might confuse people if there are default values shown in the fields when rightfully there shouldn't have.
 
Vic Hood
Ranch Hand
Posts: 477
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Sean did suggest a 'workaround' to your problem.
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I don't think it a big deal, if the user wants to store their username/password within their browser then that should be up to them.
I think that you can however add: autocomplete="off" to the attributes of the input and this hints to the browser that it should not remember these. (I say hint because it is not part of the HTML spec, however I think it is recognised by most major browsers.)

Sean
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!