Reset password form pre-populates

Discussion in 'HTML & Website Design' started by megacontent, Sep 2, 2008.

  1. #1
    I'm making an HTML form with a reset password, but firefox pre-populates the entry.

    I want it to remain blank. Only if the user alters the form by hand should it stop being blank.

    Suggestions?
     
    megacontent, Sep 2, 2008 IP
  2. megacontent

    megacontent Guest

    Messages:
    231
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I thought it was autocomplete="off", but that doesn't seem to prevent it.
     
    megacontent, Sep 2, 2008 IP
  3. megacontent

    megacontent Guest

    Messages:
    231
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    var genericAutocomplete = {
    off : function(srcInputID) {
    var tag = document.getElementById(srcInputID)
    if (tag) {
    tag.value = '';
    }
    } //end of turnOff
    } //end of genericAutocomplete

    window.setTimeout("genericAutocomplete.off('password')",50);

    http://blog.primalskill.com/?p=17
     
    megacontent, Sep 2, 2008 IP