This content has been marked as final.
Show 1 reply
-
1. Re: Why is my code not working?
jnicholas330 Sep 23, 2014 2:19 PM (in response to lpianwi)It looks like you are missing the double equals. See below.
if((CB3.fillColor ="125,125,125") &&(CB5.rawValue=="1")){
CB6.rawValue=0;
xfa.host.messageBox("This report is inconsistent, the Rater and
Senior Rater have stated different opinions on the promotion potential of this
Soldier. The Reviewer should discuss the assessment differences between the
Rater and Senior Rater. If both rating officials elect to leave the report as
written, the reviewer will “non-concur” this report based on the inconsistent
assessments.", " ", 1);
}
else if((CB4.fillColor == "128,255,0") && (CB5.rawValue=="1")){
CB6.rawValue=0;
xfa.host.messageBox("What is up with the inconsistent message.", " ", 1);
}

