Hi guys,
I am trying to clear my password field if the password is incorrect.
my scripts are:
this.rawValue = '';
This however does not work. rawValue always returns null for the password field, whether filled in or not. Any pointers would be great!
cheers
Tys
Views
Replies
Total Likes
Null and no whitespace are not equivalent. Do a check for null. If it is null, assign no whitespace. A quick test bears this out.
// form1.page1.subform1.passwordField::exit - (JavaScript, client)
if (this.isNull) {
xfa.host.messageBox("This is null");
this.rawValue = "";
}
The first time you exit the field without entering a value the field is null. On subsequent exits from the field the field is not null.
Steve
Views
Replies
Total Likes