form1.areaCalc1.Checkbox1::enter - (Javascript, client)
if (this.rawValue = 1){
xfa.resolveNode("NumericField1[2]").rawValue = 1;
} else {
xfa.resolveNode("NumericField1[2]").rawValue =0;
I have problem in execution. Check Syntax seems OK. Preview PDF does not alert error. Check Box is grey, Numeric Field white, read only.
When I check the Checkbox the numeric field becomes 1. However the checkbox becomes white and looses the check mark.
When i uncheck the checkbox the numeric field does not change back to 0 or white.
How to solve this javascript? Tx for you help! Hans