Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, HTML Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects on World Wide Web pages. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, MVC 4 It is a newer version of ASP.NET MVC,ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework. Learn More,

Saved user, password appearing in wrong fields even autocomplete=off is not working in mvc5?

Description:I have a mvc view(page)for verify otp where I have three fields for verification code,password and confirm password but in the code field saved email address is appearing, I have tried using autocomplete=off with no luck

Posted by: | Posted on: Aug 26, 2020

1 answers

Replies

4

As per the most of the Browser’s default functionality the field before the password is assumed as Username and it uses the last logged in data automatically even if we do autocomplete="off".
The simplest solution would be to set your fields autocomplete’s values as follows:

autocomplete = "new-code"
autocomplete = "new-password"
autocomplete = "new-confirm-password"

Note: The above solution will work only in HTML5 supported browsers.

Replied by: | Replied on: Oct 13, 2020



Reply
×

Code block Hyperlink bold Quotes block Upload Images

Preview