If you have a web form and don’t want a users input to be saved by a browser for repeated entry later then you need to employ autocomplete attribte of a form.

The HTML below will give you a simple form that the browser should not prompt the user to save the credentials.

You should note, this is not standards compliant, but it does seem to work in chrome, IE and firefox.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”


<html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en”>


        <title>Prevent Autocomplete</title>



    <form id=”payment” autocomplete=”false” action=”#” method=”post”>

        <p><label for=”Name”>Name on Credit Card</label><input type=”text” id=”Name”/></p>

        <p><label for=”CCNum”>Creditcard Number </label><input type=”text” id=”CCNum”/></p>

        <p><label for=”Expiry”>Expiry Date</label><input type=”text” id=”Expiry”/></p>

        <input type=”submit” />