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

Re: Multiple if statement based on isBoxChecked

$
0
0

You can use something like this:

 

var v;
if (this.getField("r51").isBoxChecked(0, true)) {  v = (this.getField("r18").value/1000) * 13;
} else {  v = this.getField("r18").value*.4;
}

if (this.getField("r20").isBoxChecked(0, false)) {
    v = v/2;
}

event.value = v;

Viewing all articles
Browse latest Browse all 66447

Trending Articles



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