if (a) ...
if (a=true) ...
I have tried, and it made the password field reappear, but it no longer will hide. So I still have the same problem, but in reverse.
var a = this.getField("admin.logo").readonly;
var b = this.getField("Mot_passe");
if (a) b.display=display.hidden;
Works great, I'm baffled this morning because I really thought I had tried in this manner before. But it's working great now. Thanks!
1 person found this helpful
this.getField("admin").readonly will always return false.
Thanks I'll keep it in mind.