Hi Lisa,
I think we're in the same boat--I do a lot of copying of code (and I learn a lot that way), but there are a lot of things I don't understand. So with that caveat... :)
1) You might try putting your script on the exit event of the field.
2) When you're trying to set focus, I don't think "rawValue" needs to be included. I.e., instead of
xfa.host.setFocus("xfa.form1.Page2_Subform.AddressBlock.AddressTable.Row1.Name.rawValue")
try
xfa.host.setFocus("xfa.form1.Page2_Subform.AddressBlock.AddressTable.Row1.Name")
HTH!
Kathryn