This issue is a little more complicated than it seems.
First, each browser implements its own logic to deal with it and prompt the user to save username/password.
In Firefox and IE you need to put a button with type submit, otherwise it will never prompt for it. In order to do that you can use OnHTMLTag event of a button, to change its type to "submit":
However, in my tests WebKit-based browser still fail to prompt even if all requirements are satisfied. I'm running some tests now and should have more info soon.
[/quote]
First, each browser implements its own logic to deal with it and prompt the user to save username/password.
In Firefox and IE you need to put a button with type submit, otherwise it will never prompt for it. In order to do that you can use OnHTMLTag event of a button, to change its type to "submit":
Code:
procedure TIWForm28.LoginHTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
if SameText(ATag.Tag, 'input') then begin
ATag.Params.Values['type'] := 'submit';
end;
end;However, in my tests WebKit-based browser still fail to prompt even if all requirements are satisfied. I'm running some tests now and should have more info soon.
[/quote]

