I currently have a custom script like this:
event.value = Sum(FieldNames2Values(["Score 1"]) );
I need that script to now take that value and multiply it by 25% or .25.
Can someone help?
I currently have a custom script like this:
event.value = Sum(FieldNames2Values(["Score 1"]) );
I need that script to now take that value and multiply it by 25% or .25.
Can someone help?
// get the value of 'Score 1' and multiply it by 0.25 or 25%
event.value = this.getField("Score 1").value * 0.25;
You had to previously use that code because you were trying to use the "+" operator and needed to eliminate empty fields from the calculation or you would have been concatenating the field values and not adding them.
George Kaiser