Answered
ja script count text
good morning, I'm looking for help to count the text "SI" which is repeated in many modules. modules call "operations1", "operations2"...etc
Thank you
good morning, I'm looking for help to count the text "SI" which is repeated in many modules. modules call "operations1", "operations2"...etc
Thank you
As 'Custom calculation script' of field where you want to show number of "SI" use this:
var total = 0;
for( var i=1; i<=11; i++){
if(this.getField("operations"+i).valueAsString == "SI")
total++;}
event.value = total;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.