<?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 Field Value Selection impact on another Dropdown Field</title><link>https://community.appian.com/discussions/f/general/38108/dropdown-field-value-selection-impact-on-another-dropdown-field</link><description>Lets say I have an Interface with 2 Dropdowns. Lets call them Dropdown1 and Dropdown2. Both have Values Yes and No. 
 If User selects Dropdown1 with Value Yes, then Dropdown2 should automatically be set to No and it should be greyed out or disabled so</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Dropdown Field Value Selection impact on another Dropdown Field</title><link>https://community.appian.com/thread/143448?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 22:34:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67001105-9eff-4b67-9187-151a7197f63e</guid><dc:creator>maheshg821223</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;a href="/members/prasantap0900"&gt;Prasanta Paul&lt;/a&gt;&amp;nbsp;, appreciate the help here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Field Value Selection impact on another Dropdown Field</title><link>https://community.appian.com/thread/143447?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 22:33:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89fd8563-3f05-483e-953e-9ed91361ee9c</guid><dc:creator>maheshg821223</dc:creator><description>&lt;p&gt;Thank you &amp;nbsp;, your solution worked.&amp;nbsp; Appreciate your help here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Field Value Selection impact on another Dropdown Field</title><link>https://community.appian.com/thread/143431?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 06:19:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d781c7e0-7000-4b06-8f53-b39277d89bab</guid><dc:creator>gayatria0439</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/maheshg821223"&gt;maheshg821223&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!choice: { &amp;quot;Yes&amp;quot;, &amp;quot;No&amp;quot; },
  local!value1,
  local!value2: null(),
  a!columnsLayout(
    columns: {
      a!columnLayout(
        contents: a!dropdownField(
          label: &amp;quot;Dropdown 1&amp;quot;,
          choiceLabels: local!choice,
          choiceValues: local!choice,
          placeholder: &amp;quot;Select a value&amp;quot;,
          value: local!value1,
          saveInto: { local!value1,  }
        )
      ),
      a!columnLayout(
        contents: a!dropdownField(
          label: &amp;quot;Dropdown 2&amp;quot;,
          choiceLabels: local!choice,
          choiceValues: local!choice,
          placeholder: &amp;quot;Select a value&amp;quot;,
          value: if(
            local!value1 = &amp;quot;Yes&amp;quot;,
            a!defaultValue(value: local!value2, default: &amp;quot;No&amp;quot;),
            local!value2
          ),
          saveInto: { local!value2 },
          disabled: local!value1 = &amp;quot;Yes&amp;quot;
        )
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Field Value Selection impact on another Dropdown Field</title><link>https://community.appian.com/thread/143427?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 04:59:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adeaa8f3-c829-4c7e-8e1f-ec943fa65f53</guid><dc:creator>Prasanta Paul</dc:creator><description>&lt;p&gt;An example&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!drop1: { &amp;quot;Yes&amp;quot;, &amp;quot;No&amp;quot; },
  local!drop2: { &amp;quot;Yes&amp;quot;, &amp;quot;No&amp;quot; },
  local!save,
  local!save2,
  {
    a!dropdownField(
      placeholder: &amp;quot;please select&amp;quot;,
      choiceLabels: local!drop1,
      choiceValues: local!drop1,
      value: local!save,
      saveInto: local!save
    ),
    a!dropdownField(
      placeholder: &amp;quot;please select&amp;quot;,
      choiceLabels: local!drop2,
      choiceValues: local!drop2,
      value: if(local!save = &amp;quot;yes&amp;quot;, &amp;quot;No&amp;quot;, &amp;quot;&amp;quot;),
      saveInto: a!save(local!save2, save!value),
      disabled: if(local!save = &amp;quot;yes&amp;quot;, true, false)
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dropdown Field Value Selection impact on another Dropdown Field</title><link>https://community.appian.com/thread/143423?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 00:23:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08e8c00f-17f9-4762-9a2c-8c139bde7b85</guid><dc:creator>Acacio B</dc:creator><description>&lt;p&gt;HI &lt;a href="/members/maheshg821223"&gt;maheshg821223&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;There are many different ways to achieve the expected result. I hope this snippet provides you with some ideas.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!values: { true(), false() },
  local!labels: { &amp;quot;Yes&amp;quot;, &amp;quot;No&amp;quot; },
  local!dropd1: null(),
  local!dropd2: null(),
  a!columnsLayout(
    columns: {
      a!columnLayout(
        contents: a!dropdownField(
          label: &amp;quot;Dropdown 1&amp;quot;,
          choiceLabels: local!labels,
          choiceValues: local!values,
          placeholder: &amp;quot;Select a value&amp;quot;,
          value: local!dropd1,
          saveInto: {
            local!dropd1,
            a!save(
              local!dropd2,
              a!match(
                value: local!dropd1,
                whenTrue: fv!value,
                then: false(),
                default: null()
              )
            )
          }
        )
      ),
      a!columnLayout(
        contents: a!dropdownField(
          disabled: and(local!dropd1, not(local!dropd2)),
          label: &amp;quot;Dropdown 2&amp;quot;,
          choiceLabels: local!labels,
          choiceValues: local!values,
          placeholder: &amp;quot;Select a value&amp;quot;,
          value: local!dropd2,
          saveInto: { local!dropd2 }
        )
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Acacio B.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>