Home > WebEOC > Admin Guide > Board Building Tips > Hide Datalinks

Hide Datalinks

Table of contents
No headers

Using HTML tags and attributes, you can automatically check and hide your datalinks.

If you have only one datalink setup on the input view, use the following:

<script type="text/javascript">
document.forms[0].datalinkid.checked=true;
document.forms[0].datalinkid.style.display='none';
</script>

If you have more than one datalink associated with the input view, you must specify the ID of the datalink in the script. Datalink IDs begin at zero. For example:

<script type="text/javascript">
document.forms[0].datalinkid[0].checked=true;
document.forms[0].datalinkid[1].checked=true;
document.forms[0].datalinkid[0].style.display='none';
document.forms[0].datalinkid[1].style.display='none';
</script>
You must to post a comment.
Last modified

Tags

Classifications

This page has no classifications.