do not show the characters in the fields when key entering

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

do not show the characters in the fields when key entering

Post by AriSilva »

Is there a way to show * instead of the real characters being entered?
Like in the password fields?
Best
Ari
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: do not show the characters in the fields when key entering

Post by htuser »

have you tried prompt(,password)? https://www.csprousers.org/help/CSPro/p ... ction.html

Best Regards,
G.VOLNY, a CSProuser from Haiti, since 2004
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Re: do not show the characters in the fields when key entering

Post by AriSilva »

Thanks, I´ll try that.
Did not know about that.
Best
Ari
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Re: do not show the characters in the fields when key entering

Post by AriSilva »

Sorry to insist on the subject.
I´ve used the prompt in an onfocus of the field I was using for the password, with a noinput instruction after, and it worked fine, but...
It values the field, but still waits for an input. As in

PROC MM20_CPF_MENTIRA
onfocus
$ = notappl;

//teste de cpf por prompt, mas continua mostrando na tela
cpfPSW = prompt("Digite o seu CPF", password, numeric);
if cpfPSW <> "" then
$ = 1;
endif;

noinput;

postproc

if $ = notappl then reenter; endif; //para não sair daqui sem valor

cpfString = cpfPSW;
cpfNum = tonumber(cpfPSW);
Best
Ari
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Re: do not show the characters in the fields when key entering

Post by AriSilva »

Sorry, plz disregard my previous note.
I´m sending these notes without really checking what the programmers are doing. My fault.
Best
Ari
Post Reply