Site icon Puneet Sharma – Freelance Web Developer

How to prevent automatic filing of Username and Password in input fields?

Use autocomplete=”new-password” in you input used for password.

<div class="form-group">
    <label>Password</label>
    <input class="form-control" autocomplete="new-password" type="password" name="password" placeholder="Type here..." value="">
</div> 
Exit mobile version