<?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 Required fields and help markers in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/required-fields-and-help-markers/m-p/36004#M15185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I'm trying to create a form with required fields and with a help marker.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #333333; padding-bottom: 0.5em;"&gt;&lt;DIV class="" style="border-bottom: 1px solid #eeeeee; font-size: 15.08px; margin: 0.2em 0px 0.6em; padding-bottom: 0.1em;"&gt;Assignees&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 1em 1em 0px;"&gt;&lt;LABEL for="template_x002e_start-workflow_x002e_start-workflow_x0023_default-startWorkflowForm-alf-id1_assoc_bpm_assignees-cntrl" style="color: #333333; margin: 0px 0.4em 0px 0px; padding-bottom: 0.2em;"&gt;Reviewers:&lt;SPAN class="" style="color: green; margin: 0px 0.4em;"&gt;*&lt;/SPAN&gt;&lt;/LABEL&gt;&lt;DIV class="" style="margin: 0px 0px 1.3em;"&gt;&lt;DIV class="" style="margin: 0px 0px 4px;"&gt; &lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class="" style="background: none 0px 0px repeat scroll #ffffff; margin: auto 0.25em;"&gt;&lt;SPAN class="" style="background: none 0px 0px repeat scroll #ffffff; border: 1px solid #0c79bf;"&gt;&lt;BUTTON style="color: #0c79bf; background-color: transparent; border: none; font-size: 12.87px;" tabindex="0" type="button"&gt;Select&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 1em 1em 0px;"&gt;&lt;DIV&gt;&lt;LABEL for="template_x002e_start-workflow_x002e_start-workflow_x0023_default-startWorkflowForm-alf-id1_prop_wf_requiredApprovePercent-cntrl" style="color: #333333; margin: 0px 0.4em 0px 0px; padding-bottom: 0.2em;"&gt;Required Approval Percentage:&lt;SPAN class="" style="color: green; margin: 0px 0.4em;"&gt;*&lt;/SPAN&gt;&lt;/LABEL&gt;&lt;INPUT class="" name="-" style="background-color: white; border: 1px solid #cccccc; font-size: 12.87px;" tabindex="0" title="Percentage of reviewers who must approve for approval" type="text" /&gt;&lt;SPAN class="" style="margin: 0px 0px 0px 0.4em;"&gt;&lt;IMG src="http://localhost:8080/share/res/components/form/images/help.png" style="border: 0px;" title="Click to show and hide help text for the field." /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="" style="margin: 0px 0px 0px 0.4em;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="" style="margin: 0px 0px 0px 0.4em;"&gt;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?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 13:33:56 GMT</pubDate>
    <dc:creator>pat9rv3sousa</dc:creator>
    <dc:date>2017-06-08T13:33:56Z</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>

