I've got the password box but how do I set it so when the password is correct it does what I ask it to do.
For example: If the password is correct, change the background color.
Something like that
I don't know if it's ok to bring this other thread here... but since nobody asked him, it's about the same control and, in a way, it's related to this question... well, I did it ;;).
Clearly, this option:
using a textfield could do: textfield1.setText (""); but in password does not work as
Answers
Use getText() to get the password entered into the password control and compare it to the actual password e.g.
You'll also need to add some sort of submit button, otherwise it may keep checking continuously.
Hello.
I'm in the same situation than @nickoesx in this other thread.
I don't know if it's ok to bring this other thread here... but since nobody asked him, it's about the same control and, in a way, it's related to this question... well, I did it ;;).
Clearly, this option:
is not viable at all.
Is there a way to "clear" de password field?
Thanks in advance.
Javier
PS: I'm using P-3.2.3 and G4P-4.2.