Avatar

Level 10

Hi,

I would move the script out to the exit event of the MRN# object. Also you don't need to always resolve an object, espically when it is on the same page, so script could become:

if (this.rawValue == null)

Button1.presence="hidden";

else

Button1.presence="visible";

Works here...

I don't think the form is corrupt.

In relation to the app.alert it might be worth putting in some console.println("variable....." + variable) scripts to debug.

N.