Password characters

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

Password characters

Post by soa »

How do I set an input box to display ***** for password input instead of the characters typed.
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

Re: Password characters

Post by soa »

Its odd that items columns in my Lists have a PasswordChar setting but a plain input field does not.
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Password characters

Post by Stewart Marshall »

You have a couple of choices. The first is to add the ND (Non-display) input attribute to your "password" field definition. Alternatively, you can use an Edit (Prim_edit). This has a PasswordChar property.

The reason you see a password character in a list column is that a string column is actually an edit (Prim_edit) rather than a field.
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

Re: Password characters

Post by soa »

Thanks for that
Post Reply