docsnyder has asked for the wisdom of the Perl Monks concerning the following question:
I am using Prima for creating GUI's and I am trying to handle a password input field with characters entered shown as '*'.
I have figured out, that this is achieved by setting the attribute 'writeOnly' of the InputLine to 'true'. But, how can I access the entered password in clear text in order to process it? Accessing it via the 'text()' method just return the hidden password (e.g. '*******'). Even setting 'writeOnly' to 'false' does not show the characters entered before in 'asterisk mode' in clear text.
I have stufied the Prima example menu.pl, but even with this example I am not able to retrieve clear text from the input field, once the characters have been asterisked.
Any experience/idea?. Any hint would be appreciated!
Regards
DocSnyder
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: GUI question: Prima: password input fields
by roboticus (Chancellor) on Dec 21, 2019 at 13:56 UTC | |
Re: GUI question: Prima: password input fields
by Anonymous Monk on Dec 21, 2019 at 12:57 UTC | |
by Anonymous Monk on Dec 22, 2019 at 00:45 UTC |