Pathologically Eclectic Rubbish Lister | |
PerlMonks |
GUI question: Prima: password input fieldsby docsnyder (Novice) |
on Dec 21, 2019 at 10:32 UTC ( [id://11110465]=perlquestion: print w/replies, xml ) | Need Help?? |
docsnyder has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks!
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
Back to
Seekers of Perl Wisdom
|
|