Hi there. I got the following script to determine the contents of the two fields before the next action.
if (("TextField1[0]").rawValue <> "" & ("DateTimeField1[0]").rawValue <> "") {
oTargetField = this.resolveNode(" form1.#subform[0].Button1");
oTargetField.access = "open";}
However, it seems there has been some syntax error. Can anyone please advise?
Thanks.
The error message usually list a line number and location.
You could also use the 'HasValue()' function to test if a field is not empty.
George Kaiser