<?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: How to display different form fields based on selection of dropdown ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287190#M240320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Aikau forms? Maybe this sample can help you&amp;nbsp;&lt;A class="link-titled" href="https://aikau-sandpit.alfresco.com/aikau-sandpit/page/na/ws/SelectedListItems" title="https://aikau-sandpit.alfresco.com/aikau-sandpit/page/na/ws/SelectedListItems" rel="nofollow noopener noreferrer"&gt;Aikau Sandpit&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 22:27:15 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2016-11-14T22:27:15Z</dc:date>
    <item>
      <title>How to display different form fields based on selection of dropdown ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287189#M240319</link>
      <description>Hi Community Members,I am developing one Aikau page. I want to display document filtered by two properties in tabular format. For that, I have defined one content type having two properties.In my scenario, a second dropdown list is to be populated based on selection of first drop-down value. So, if</description>
      <pubDate>Mon, 14 Nov 2016 19:14:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287189#M240319</guid>
      <dc:creator>kalpesh_c2</dc:creator>
      <dc:date>2016-11-14T19:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display different form fields based on selection of dropdown ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287190#M240320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Aikau forms? Maybe this sample can help you&amp;nbsp;&lt;A class="link-titled" href="https://aikau-sandpit.alfresco.com/aikau-sandpit/page/na/ws/SelectedListItems" title="https://aikau-sandpit.alfresco.com/aikau-sandpit/page/na/ws/SelectedListItems" rel="nofollow noopener noreferrer"&gt;Aikau Sandpit&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:27:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287190#M240320</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2016-11-14T22:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to display different form fields based on selection of dropdown ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287191#M240321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing this link! Much helpful. Yes, I am going to use Aikau form. I will give this a shot and update you back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kalpesh&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.contcentric.com" rel="nofollow noopener noreferrer"&gt;ContCentric&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 10:58:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287191#M240321</guid>
      <dc:creator>kalpesh_c2</dc:creator>
      <dc:date>2016-11-15T10:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display different form fields based on selection of dropdown ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287192#M240322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, basically as &lt;B&gt;Angel Borroy&lt;/B&gt;‌ is saying you can use the forms configuration to control which fields are displayed based on the changing value of other fields. The &lt;A href="https://aikau-sandpit.alfresco.com/aikau-sandpit/page/na/ws/FormControls" rel="nofollow noopener noreferrer"&gt;form controls page&lt;/A&gt; on the Sandpit has some examples of this. The Aikau &lt;A href="https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Contents.md" rel="nofollow noopener noreferrer"&gt;tutorial&lt;/A&gt; also has a &lt;A href="https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Tutorial16.md" rel="nofollow noopener noreferrer"&gt;chapter&lt;/A&gt; that covers this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All form controls extend &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/BaseFormControl.html" rel="nofollow noopener noreferrer"&gt;BaseFormControl&lt;/A&gt; which provides common configuration properties for dynamic visibility, enablement and requirement behaviours. What you're probably looking for is autoSetConfig, or possibly to make use of the form dependant options (using the "ALF_GET_FORM_VALUE_DEPENDENT_OPTIONS" topic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a good example of this in the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/CloudSyncService.js.html#line457" rel="nofollow noopener noreferrer"&gt;CloudSyncService&lt;/A&gt;&amp;nbsp;(check out the&amp;nbsp;widgetsForSyncDialog configuration) where the site drop-down is updated based on the changing value of the network dialog. If you want to see this in action then you can &lt;A href="https://github.com/Alfresco/Aikau/wiki/Aikau%20Setup%20(OS%20X)" rel="nofollow noopener noreferrer"&gt;get the unit test application running&lt;/A&gt; and try it out there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any assistance getting your form configuration working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:42:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-display-different-form-fields-based-on-selection-of/m-p/287192#M240322</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-15T11:42:18Z</dc:date>
    </item>
  </channel>
</rss>

