Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Error execution in IF checkbox is 1 then Numeric Field is 1, else 0

$
0
0

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


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>