anchor.diff:  			}
   			
   		%>
  -		<aui:input size="5" name="passpuntuation" label="passpuntuation" type="text" value="<%=Long.toString(score) %>" disabled="<%=disabled %>" helpMessage="<%=LanguageUtil.get(pageContext,\"editActivity.passpuntuation.help\")%>">
  +		<aui:input size="5" name="passpuntuation" label="passpuntuation" type="number" value="<%=Long.toString(score) %>" disabled="<%=disabled %>" helpMessage="<%=LanguageUtil.get(pageContext,\"editActivity.passpuntuation.help\")%>">
  +			<aui:validator name="min" errorMessage="editActivity.passpuntuation.range">-1</aui:validator>
  +			<aui:validator name="max" errorMessage="editActivity.passpuntuation.range">101</aui:validator>
   		</aui:input>
   		<% if (disabled) { %>
   		<input name="<portlet:namespace />passpuntuation" type="hidden" value="<%=Long.toString(score) %>" />
  
positive.code: 	);
  //-->
  </script>
  <aui:form name="fm" action="<%=saveactivityURL%>"  method="post"   onSubmit='<%= "event.preventDefault(); " + renderResponse.getNamespace() + "validate();" %>' enctype="multipart/form-data">
  	<aui:fieldset>
  		<aui:input name="redirect" type="hidden" value="<%= redirect %>" />
  		<aui:input name="maxSize" type="hidden" value="<%= fileMaxSize %>" />
  		<aui:input name="backURL" type="hidden" value="<%= backURL %>" />
  		<aui:input name="referringPortletResource" type="hidden" value="<%= referringPortletResource %>" />
  	
  <script type="text/javascript">
  <!--
  
negative.code: 		%>
  		
  		<aui:input size="5" name="tries" label="tries" value="<%=Long.toString(tries) %>" type="number"  disabled="<%=disabled%>">
  			<aui:validator name="min" errorMessage="editActivity.tries.range">-1</aui:validator>
  		</aui:input><%--liferay-ui:icon-help message="number-of-tries"></liferay-ui:icon-help--%>
    		<div id="<portlet:namespace />triesError" class="<%=((SessionErrors.contains(renderRequest, "editActivity.tries.required"))||
  														      (SessionErrors.contains(renderRequest, "editActivity.tries.number"))||
  