Hi there. I got the following script to check the null value of the two field before a button can be enabled. However, it seems that there is some syntax errors. Can anyone please advise?
Thanks.
if (("TextField1[0]").rawValue <> "" & ("DateTimeField1[0]").rawValue <> "") {
oTargetField = this.resolveNode(" form1.#subform[0].Button1");
oTargetField.access = "open";}