Hi,I try to use code below without success. It work only for one If statement but when I add another one he stop working. Any help would be appreciated. Thanks.FormDCV.Masterform.Page1.CurrentSheet::ready:layout - (JavaScript, client)this.rawValue = xfa.layout.sheet(this)+1; FormDCV.Masterform.Page1...