anchor.diff:              </c:otherwise>
             </c:choose>
           
  -          <select name="resourceId" size="${selectSize}" multiple>
  +          <select name="resourceId" id="resource-select-${num}" size="${selectSize}" multiple>
               <c:forEach var="resource" items="${resourceType.value}">
                 <option value="${resource.resourceId}">
                   ${resource.label}
  
positive.code: </jsp:include>
  
    <script language="Javascript" type="text/javascript" >
        function validateRRD() {
            var isChecked = false
            for( i = 0; i < document.report.resource.length; i++ ) {
                // make sure something is checked before proceeding
                if (document.report.resource[i].selected) {
                    isChecked=true;
                }
            }
    
            if (!isChecked){
                alert("Please check the resources that you would like to report on.");
            }
            return isChecked;
        }
    
        function submitForm() {
            if (validateRRD()) {
                document.report.submit();
            }
        }
    </script>
  
negative.code:       <form method="GET" name="report" action="${model.endUrl}">
          <%=Util.makeHiddenTags(request, new String[] { "parentResourceType", "parentResource", "endUrl"})%>
    
          <c:set var="num" value="0"/>
          <c:forEach var="resourceType" items="${model.resourceTypes}">
            <h3>${resourceType.key.label}</h3>
  
            <c:choose>
  