Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87055

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

$
0
0

Hi, Hans,,,,


'=' which means assigning a value to the field in the if statement..

You must use '==' or '==='.

 

form1.areaCalc1.Checkbox1::enter - (Javascript, client)

if (this.rawValue == 1){

    xfa.resolveNode("NumericField1[2]").rawValue = 1;

  } else {

  xfa.resolveNode("NumericField1[2]").rawValue =0;

}


S,Candy.


Viewing all articles
Browse latest Browse all 87055

Trending Articles



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