Avatar

Level 4

Just after I sent the last reply, I tried another solution from a forum

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

if

(this.rawValue == null

)

xfa.resolveNode("Button1").presence

=

"hidden";

else

xfa.resolveNode("Button1").presence

=

"visible";

And that worked! I'm all set. Now I'm going to look into your suggestion for "set up an app.alert to confirm the file is saved after the trusted function script in the button."