Masking Characters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Masking Characters

Michael Gross-4

            Hi,

           

On an input field with sensitive information I want to mask the actual value.

I only want the value masked when it is displayed not when it is being entered.

Setting the type of this input field to password is not giving me exactly what I want.

 

                  If anyone has some ideas on this I would like to hear them……………..!

 

            Thanks!

Mike

 

Reply | Threaded
Open this post in threaded view
|

Re: Masking Characters

Vassili Bykov
You don't explain how entering is differentiated from displaying, but
one solution is creating two identical input fields hooked up to the
same value holder, one regular the other password, and showing or hiding
one or the other as needed. You may need to micro-manage the keyboard
focus to preserve the illusion of a single widget, but that again
depends on how the display mode is switched.


Michael Gross wrote:

>             Hi,
>
>            
>
> On an input field with sensitive information I want to mask the actual
> value.
>
> I only want the value masked when it is displayed not when it is being
> entered.
>
> Setting the type of this input field to password is not giving me
> exactly what I want.
>
>  
>
>                   If anyone has some ideas on this I would like to hear
> them……………..!
>
>  
>
>             Thanks!
>
> Mike
>
>  
>


--
Vassili Bykov <[hidden email]>

[:s | s, s printString] value: '[s: | s, s printString] value: '

Reply | Threaded
Open this post in threaded view
|

Re: Masking Characters

Karsten Kusche
you can also do like pgp does and add a checkbox to switch the state of
an inputfield from seeing the content and hiding the content. you can
use that checkbox to explicit switch between both inputfields.

on the other hand you may just set the content of that field to
xxxxxxxx, regardless of what value should be shown and when the user
edits it, then he can enter text the normal way.

good luck
Karsten



Vassili Bykov wrote:

> You don't explain how entering is differentiated from displaying, but
> one solution is creating two identical input fields hooked up to the
> same value holder, one regular the other password, and showing or
> hiding one or the other as needed. You may need to micro-manage the
> keyboard focus to preserve the illusion of a single widget, but that
> again depends on how the display mode is switched.
>
>
> Michael Gross wrote:
>>             Hi,
>>
>>          
>> On an input field with sensitive information I want to mask the
>> actual value.
>>
>> I only want the value masked when it is displayed not when it is
>> being entered.
>>
>> Setting the type of this input field to password is not giving me
>> exactly what I want.
>>
>>  
>>
>>                   If anyone has some ideas on this I would like to
>> hear them……………..!
>>
>>  
>>
>>             Thanks!
>>
>> Mike
>>
>>  
>>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Masking Characters

Terry Raymond
In reply to this post by Michael Gross-4

Mike

 

If I understand you properly, you might be able to do this by providing

the proper print converter. The print converter will convert the characters

for display prior to and after field entry.

 

Terry

===========================================================
Terry Raymond       Smalltalk Professional Debug Package
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: Michael Gross [mailto:[hidden email]]
Sent: Tuesday, September 26, 2006 3:02 PM
To: [hidden email]
Subject: Masking Characters

 

            Hi,

           

On an input field with sensitive information I want to mask the actual value.

I only want the value masked when it is displayed not when it is being entered.

Setting the type of this input field to password is not giving me exactly what I want.

 

                  If anyone has some ideas on this I would like to hear them……………..!

 

            Thanks!

Mike