Widget:Test: Difference between revisions

Jump to navigation Jump to search
Mehdi Pahlavani (talk | contribs)
No edit summary
Mehdi Pahlavani (talk | contribs)
No edit summary
Line 23: Line 23:
}
}
if(document.forms["IMPROVEScore"]["input7"].checked == 1){
if(document.forms["IMPROVEScore"]["input7"].checked == 1){
score += 1;
}
if(document.forms["IMPROVEScore"]["input8"].checked == 1){
score += 1;
}
if(document.forms["IMPROVEScore"]["input9"].checked == 1){
score += 1;
score += 1;
}
}


if(document.forms["IMPROVEScore"]["input10"].checked == 1){
score -= 2;
}


document.forms["IMPROVEScore"]["result"].value = score;
document.forms["IMPROVEScore"]["result"].value = score;

Revision as of 15:13, 13 October 2017