<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Required fields and help markers in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/required-fields-and-help-markers/m-p/36005#M15186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a project using the Alfresco SDK 3.0.0 archetype you will get a sample content model and Share form configuration. One of the sample types is acme:document which is configured with a mandatory aspect called acme:securityClassified. That aspect has a property called acme:securityClassification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The acme:securityClassification property is not defined in the content model to be required. If it were, the required indicator would show up in Share automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, let's say we want the field to show up as required, even though the model doesn't say it is required, and we want to add some help text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you edit src/main/resources/META-INF/share-config-custom.xml you'll find a section that defines the Share form for acme:document by searching for "&amp;lt;config evaluator="node-type" condition="acme:document"&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make securityClassification required and have some help text, change the field definition from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field id="acme:securityClassification" label-id="form.field.label.acme.securityClassification"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set="acmeDocSet" /&amp;gt;&lt;/PRE&gt;&lt;P&gt;to:&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field id="acme:securityClassification" label-id="form.field.label.acme.securityClassification"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set="acmeDocSet"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mandatory="true"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="Select one of the security classification choices from the list." /&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would rather provide an I18N key to your help so that you can translate it into multiple languages, use help-id instead of help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 16:09:41 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2017-06-20T16:09:41Z</dc:date>
    <item>
      <title>Required fields and help markers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/required-fields-and-help-markers/m-p/36004#M15185</link>
      <description>Hi. I'm trying to create a form with required fields and with a help marker.&amp;nbsp;AssigneesReviewers:* SelectRequired Approval Percentage:*For example, in the workflow we have the "*" in reviewers and the help marker after the field of the percentage. How can I add this to another form?</description>
      <pubDate>Thu, 08 Jun 2017 13:33:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/required-fields-and-help-markers/m-p/36004#M15185</guid>
      <dc:creator>pat9rv3sousa</dc:creator>
      <dc:date>2017-06-08T13:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Required fields and help markers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/required-fields-and-help-markers/m-p/36005#M15186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a project using the Alfresco SDK 3.0.0 archetype you will get a sample content model and Share form configuration. One of the sample types is acme:document which is configured with a mandatory aspect called acme:securityClassified. That aspect has a property called acme:securityClassification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The acme:securityClassification property is not defined in the content model to be required. If it were, the required indicator would show up in Share automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, let's say we want the field to show up as required, even though the model doesn't say it is required, and we want to add some help text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you edit src/main/resources/META-INF/share-config-custom.xml you'll find a section that defines the Share form for acme:document by searching for "&amp;lt;config evaluator="node-type" condition="acme:document"&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make securityClassification required and have some help text, change the field definition from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field id="acme:securityClassification" label-id="form.field.label.acme.securityClassification"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set="acmeDocSet" /&amp;gt;&lt;/PRE&gt;&lt;P&gt;to:&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field id="acme:securityClassification" label-id="form.field.label.acme.securityClassification"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set="acmeDocSet"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mandatory="true"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="Select one of the security classification choices from the list." /&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would rather provide an I18N key to your help so that you can translate it into multiple languages, use help-id instead of help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 16:09:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/required-fields-and-help-markers/m-p/36005#M15186</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2017-06-20T16:09:41Z</dc:date>
    </item>
  </channel>
</rss>

