3

In configuration screen I need to have storage of passwords. Also I want to make it invisible for others ( displayed as stars ). How should I mark DAC class text field and/or modify PXTextEdit control in order to get this functionality?

Yuriy Zaletskyy
  • 4,983
  • 5
  • 34
  • 54

1 Answers1

5

I found answer on my question:

    <px:PXTextEdit ID="edPassword" runat="server" DataField="Password" TextMode="Password" />

I want to extend my answer with another part. For now it's also possible to add attribute PXRSACryptString. For example like this:

[PXUIField(DisplayName = "Password")]
[PXRSACryptString(512, IsUnicode = true)]
public virtual string SPassword { get; set; }
Yuriy Zaletskyy
  • 4,983
  • 5
  • 34
  • 54