Avatar

Level 4

Well, the show/hide DID work. But now it DOESN'T. Here's the code on the MRN field

----- topmostSubform.Page1.MRN::change: - (JavaScript, client) -------------------------------------

if

(this.rawValue == null

)

xfa.resolveNode("Button1").presence

=

"hidden";

else

xfa.resolveNode("Button1").presence

=

"visible";

When I added app.alert('--------'); after the trusted function, this seemed to cause a problem. The file wanted to print, but it didn't save. When I took out this alert, then the button worked as it should. Still, Button1 doesn't become visible when I type into the MRN box. And it did work just a short time ago. What could have happened? Do files become corrupt in LC?