Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function updateEstimatedDeathdate() {
- var input = document.getElementById("deathdateEstimatedInput");
- if (input) {
- input.checked = true;
- input.parentNode.className = "";
- }
- else
- input.parentNode.className = "listItemChecked";
- }
- <openmrs:message code="Person.deathdateEstimated"/>
- <spring:bind path="patient.deathdateEstimated">
- <%--<input type="text" name="causeOfDeath" value="${status.value}" id="causeOfDeath"/>--%>
- <input type="checkbox" name="${status.expression}" value="false"
- <c:if test="${status.value == true}">checked</c:if>
- id="deathdateEstimatedInput"
- onclick="if (this.checked) updateEstimatedDeathdate()" />
- <c:if test="${status.errorMessage != ''}"><span class="error">${status.errorMessage}</span></c:if>
- </spring:bind>
-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement