Widget:CapCal: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
} | } | ||
if(document.forms["CapCalc"]["input18"].checked == 1){ | if(document.forms["CapCalc"]["input18"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input19"].checked == 1){ | if(document.forms["CapCalc"]["input19"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input20"].checked == 1){ | if(document.forms["CapCalc"]["input20"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input21"].checked == 1){ | if(document.forms["CapCalc"]["input21"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input22"].checked == 1){ | if(document.forms["CapCalc"]["input22"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input23"].checked == 1){ | if(document.forms["CapCalc"]["input23"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input24"].checked == 1){ | if(document.forms["CapCalc"]["input24"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input25"].checked == 1){ | if(document.forms["CapCalc"]["input25"].checked == 1){ | ||
score += | score += 2; | ||
} | } | ||
if(document.forms["CapCalc"]["input26"].checked == 1){ | if(document.forms["CapCalc"]["input26"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input27"].checked == 1){ | if(document.forms["CapCalc"]["input27"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input28"].checked == 1){ | if(document.forms["CapCalc"]["input28"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input29"].checked == 1){ | if(document.forms["CapCalc"]["input29"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input30"].checked == 1){ | if(document.forms["CapCalc"]["input30"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input31"].checked == 1){ | if(document.forms["CapCalc"]["input31"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input32"].checked == 1){ | if(document.forms["CapCalc"]["input32"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input33"].checked == 1){ | if(document.forms["CapCalc"]["input33"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input34"].checked == 1){ | if(document.forms["CapCalc"]["input34"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input35"].checked == 1){ | if(document.forms["CapCalc"]["input35"].checked == 1){ | ||
score += | score += 3; | ||
} | } | ||
if(document.forms["CapCalc"]["input36"].checked == 1){ | if(document.forms["CapCalc"]["input36"].checked == 1){ | ||
score += | score += 5; | ||
} | } | ||
if(document.forms["CapCalc"]["input37"].checked == 1){ | if(document.forms["CapCalc"]["input37"].checked == 1){ | ||
score += | score += 5; | ||
} | } | ||
if(document.forms["CapCalc"]["input38"].checked == 1){ | if(document.forms["CapCalc"]["input38"].checked == 1){ | ||
score += | score += 5; | ||
} | } | ||
if(document.forms["CapCalc"]["input39"].checked == 1){ | if(document.forms["CapCalc"]["input39"].checked == 1){ | ||
score += | score += 5; | ||
} | } | ||
document.forms["CapCalc"]["result"].value = score; | document.forms["CapCalc"]["result"].value = score; |