Avatar

Level 4

I am trying to set a value on a read only/calculated text field based on the exit event of another field, below is what I'm using,

but nothing happens when I enter data and exit the field.

Year0 is a hidden calculated field set to current year in a 4 digit format.

Using JavaScript - any ideas where I'm going wrong?  Thank you!

var

myVA = form1.#subform[0].#subform[1].#subform[2].Table1.Row1.tVANo.rawValue;

var

myYR = form1.#pageSet[0].Page1.Year0.rawValue;

var

myPrj = this.rawValue;

myVA

= Concat(myPrj, "-", myYR)