Known Participant
October 25, 2022
Answered
Percentage calculation from dropdown list
- October 25, 2022
- 1 reply
- 1937 views
Is your text field formatted as percentage?
What is the value of dropdown fields 1 or 'poor', or is one of them an export value?
If your field is formatted as percentage and let's say dropdown field doesn't have an export value and other values are 1,2,3,4, use this as custom calculation script of percentage field:
var per = 0;
for(var i=1; i<=3; i++){
per += Number(this.getField("Dropdown"+i).value);}
event.value = per/12;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.