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

Re: Re: Calculated field?

$
0
0

Ah, that's real easy. Let's say the solution field is called Solution and the result field is called Result, and that the right solution is "7".

So you enter this as the Result field's custom calculation script:

 

var solution = this.getField("Solution").valueAsString;
if (solution) {    if (solution=="7") {        event.value = "CORRECT";    } else event.value = "WRONG";
} else event.value = "";

Viewing all articles
Browse latest Browse all 90000

Trending Articles



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