Skip to content

Commit

Permalink
SAK-41129 - Add a better validation message for the required field. I…
Browse files Browse the repository at this point in the history
…t's actually the same message that shows when using the MessageTitleValidator, though that one probably never gets thrown as the native required message will run first. (sakaiproject#6667)
  • Loading branch information
maurercw authored and ern committed Mar 20, 2019
1 parent 6680518 commit cfffde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgcntr/messageforums-app/src/webapp/jsp/dfCompose.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<h:outputText value="#{msgs.cdfm_info_required_sign}" styleClass="reqStar"/>
<h:outputText value="#{msgs.cdfm_title}"/>
</h:outputLabel>
<h:inputText value="#{ForumTool.composeTitle}" style="width:30em;" maxlength="250" required="true" id="df_compose_title">
<h:inputText value="#{ForumTool.composeTitle}" style="width:30em;" maxlength="250" required="true" id="df_compose_title" requiredMessage="#{msgs.cdfm_invalidMessageTitleString}">
<f:validator validatorId="MessageTitle" />
<f:validateLength minimum="1" maximum="255"/>
</h:inputText>
Expand Down

0 comments on commit cfffde2

Please sign in to comment.