Else if a mystery
I have a form with 3 drop-down columns. If have a value assigned to each option on each drop-down. I want to compile the sum of all the drop-down columns in another column. However, right now, I can't get my JavaScript to even work on the first column. I've got the script below entered into the Custom calculation box and its not working at all. Can anyone tell me what I've done wrong?
Also, assuming I a formula to work for the first column can I then just add a "+" to the end of the formula and then repeat the process for my next two columns. Everything I know about JavaScript, I read on-line this morning so I'm worse than a novice. Appreciate anyone's help.
var a=this.getField("Dropdowna").value;
if(a=="High Impact/ High Probability"){
- event.value=5;
}else if(a=="High impact/ Low probability"){
- event.value=4;
}else if(a=="Low impact/ High probability"){
- event.value=3;
}else if(a=="Low impact/ Low probability"){
- event.value=2;
}else if(a=="Conflict of Interest"){
- event.value=1;
}else if(a=="Click cell for drop-down"){
- event.value=0;
