When a user selects an answer from a drop down object a text box turns green (if the correct answer).
I want to write a script to check to see if the object is green and loop thru all the table rows.
This is what I have but it will not detect the green color.
var nCount = 0;
var vRows = 47;
for(i=vRows;i>=0;i--){
if(Table1.resolveNode("Row[" + i + "]").Signal.border.fill.color.value == "204,255,204" ){
nCount = nCount +1;
this.rawValue = nCount;
}
}
if(nCount ==0){
this.rawValue = nCount;
}