<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dropdown Updation</title><link>https://community.appian.com/discussions/f/user-interface/23691/dropdown-updation</link><description>I have a scenario, where there are 2 dropdown fields namely &amp;quot;Region&amp;quot; and &amp;quot;Country&amp;quot; 
 Choice Labels and Choice Values for &amp;quot;Region&amp;quot; dropdown field is referred to a constant (cons!LCV1_REG) and it has an array of values - Asia, Europe, Australia 
 Choice</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Dropdown Updation</title><link>https://community.appian.com/thread/90968?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 14:12:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c59b5386-3469-4ddd-8a23-cf12b1dd1064</guid><dc:creator>leonclintonc</dc:creator><description>&lt;p&gt;That helps as well. I am open to all kinds of solutions from the members of this community. Thank you Peter !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Updation</title><link>https://community.appian.com/thread/90962?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 13:39:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:367c99d5-555a-4cac-a752-b38fc359515c</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;It looks like you found the answer, but I also wanted to share a similar recipe in the docs:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/recipe-configure-cascading-dropdowns.html"&gt;https://docs.appian.com/suite/help/latest/recipe-configure-cascading-dropdowns.html&lt;/a&gt;. There&amp;#39;s some really nice recipes there that have code you can copy / paste if you want to try some common design patterns.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Updation</title><link>https://community.appian.com/thread/90961?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 12:27:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b5ad471-a209-4a77-99a0-261ca9616b9d</guid><dc:creator>leonclintonc</dc:creator><description>&lt;p&gt;Yes I tried this as well, thank you Stewart !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Updation</title><link>https://community.appian.com/thread/90960?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 12:26:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d4dd662-2f90-409a-aeaa-a72c8418e255</guid><dc:creator>leonclintonc</dc:creator><description>&lt;p&gt;Hey Gopalk, your code worked for me. Thank you so much !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Updation</title><link>https://community.appian.com/thread/90957?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 12:12:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d940c58-cd02-4f50-b30a-fca5c89dfcf2</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/leonclintonc0001"&gt;leonclintonc&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;you would need to make &amp;quot;ri!country&amp;quot; field null every time you change region. please see below code and try&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!dropdownField(
              label: &amp;quot;Regions&amp;quot;,
              labelPosition: &amp;quot;ABOVE&amp;quot;,
              placeholder: &amp;quot;--- Select a Value ---&amp;quot;,
              choiceLabels: local!region,
              choiceValues: local!region,
              value: ri!region,
              saveInto: {
              ri!region,
              a!save(ri!country,null)
              },
              searchDisplay: &amp;quot;AUTO&amp;quot;,
              validations: {}
            )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Updation</title><link>https://community.appian.com/thread/90955?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 11:30:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc68c488-42f6-4be2-943f-5d93c9970de4</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;You can make the the local!country a refreshVariable, and configure it to refresh every time you change the selected Region.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>