Hi,Why are you resolving the rType object? Unless there are multiple rType objects or you have unnammed subforms, you should be able to use a relative reference. Also, xfa.resolveNode("rType") will only return the object. You would need .rawValue to return the value of the object. So:var myType = x...