• automatic password population as per conventional domino login

    By sean cull 1 decade ago

    Love the control and it is a superior experience to the conventional login form except that the conventional form auto populates the password once the user name is entered.

    I suspect this is a firefox thing ????

    The same behaviour does not happen with the dojo popup

    • Add autocomplete = on

      By F. Kranenburg 1 decade ago

      Dojo sets the 'autocomplete' attributes to 'off' by default. When manually adding these to the textbox, it doesn't work.
      Change the onclientload event on your xpage and add this code :

       

      dojo.attr(dojo.byId('#{id:username}'), "autocomplete", "on");

      dojo.attr(dojo.byId('#{id:password}'), "autocomplete", "on");


      But somehow this doesn't work in IE and Chrome...

      • thanks <eom>

        By sean cull 1 decade ago