Widget:IMPROVEScore: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
score += 1;
score += 1;
}
}
document.forms["IMPROVEScore"]["result"].value = score;
document.forms["IMPROVEScore"]["result"].value = score;
if(score == 0){document.forms["IMPROVEScore"]["longanswer"].value = "0.4%";}
if(score == 0){document.forms["IMPROVEScore"]["longanswer"].value = "0.4%";}
Line 50: Line 51:
<tr><td>ICU or CCU admission</td><td><input type="checkbox" name="input6" value="1.0"  onchange="calcScore();" /></td></tr>
<tr><td>ICU or CCU admission</td><td><input type="checkbox" name="input6" value="1.0"  onchange="calcScore();" /></td></tr>
<tr><td>Age more than 60 years</td><td><input type="checkbox" name="input7" value="1.0" onchange="calcScore();" /></td></tr>
<tr><td>Age more than 60 years</td><td><input type="checkbox" name="input7" value="1.0" onchange="calcScore();" /></td></tr>
</table>
</table>
Score: <input type="text" name="result" /><br />
Score: <input type="text" name="result" /><br />
<input type="text" size="60" name="longanswer" />
<input type="text" size="60" name="longanswer" />
</form>
</form>
</includeonly>
</includeonly>

Revision as of 14:55, 13 October 2017