<?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>Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/discussions/f/general/7952/displaying-drop-down-field-conditionally</link><description>I am learning Appian now. In my UI, secondColumnContents contains 3 dropdownFields. But one of dropdownFields only be displayed under one condition. How can I display this dropdownField under the condition. So, the UI may display 3 dropdownFields if the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/57134?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 06:22:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:80b8ddce-b615-4224-9403-51ddcd7c2c6e</guid><dc:creator>deviratnamv</dc:creator><description>Hi chuliangc,&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m agree with remaining participates, may be below code will help you&lt;br /&gt;
a!columnLayout(&lt;br /&gt;
  contents: {&lt;br /&gt;
   a!dropdownField(),&lt;br /&gt;
   a!dropdownField(&lt;br /&gt;
     showWhen: if(condition=true, show input, don&amp;#39;t show input)&lt;br /&gt;
   ),&lt;br /&gt;
   a!dropdownField()&lt;br /&gt;
  }&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/57131?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 05:46:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d21ec38-f16b-4cbb-bc43-d3ca2fa87934</guid><dc:creator>Shubham Aware</dc:creator><description>People have given you an better answer to your question but i just wanted to add few more easy function by which you can achieve this functionality,&lt;br /&gt;
1) You can simply use &amp;quot;If&amp;quot; and conditionally you can show particular value.&lt;br /&gt;
2) You can also use showWhen() function to conditionally hide and show value.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56923?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 14:03:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86db8411-dfdb-40de-a67a-cd2af35ff758</guid><dc:creator>sushilkumarb</dc:creator><description>In Interface use if condition like&lt;br /&gt;
dropdown1,&lt;br /&gt;
dropdown2,&lt;br /&gt;
if {&lt;br /&gt;
Condition s satisfied,&lt;br /&gt;
dropdown 3,&lt;br /&gt;
{}&lt;br /&gt;
}&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56919?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 13:13:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d69f951-0ea5-4e95-b8a8-0a1e1362b2e4</guid><dc:creator>angelak241695</dc:creator><description>You can use the showWhen on the third drop down component. Within the showWhen expression, use an if() statement. &lt;br /&gt;
&lt;br /&gt;
if (&lt;br /&gt;
/*checking if both conditions are true */&lt;br /&gt;
and(ri!selectedFirstConditionsIsTrue, ri!selectedSecondConditionisTrue),&lt;br /&gt;
/*show*/&lt;br /&gt;
true,&lt;br /&gt;
/*otherwise, don&amp;#39;t show*/&lt;br /&gt;
false&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56816?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 04:17:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b0a5ff8-7c5a-4f94-98d8-02b83f382ba7</guid><dc:creator>ravalik</dc:creator><description>Hi chuliangc,&lt;br /&gt;
I would like to suggest to use if condition in your case so that you can display the drop down conditionally.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalik&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56794?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 13:14:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:360e640e-d1f5-4a8d-a6ac-bff47c360207</guid><dc:creator>sahilb346</dc:creator><description>Hello&lt;br /&gt;
You have to use the showWhen and add if condition in it to pass true or false. and same for other fields.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Sahil Batra&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56776?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 09:41:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2764a9c-05a9-45e1-8238-b31cdcea9809</guid><dc:creator>paragk998</dc:creator><description>Go to Expression View of Interface&lt;br /&gt;
write the if condition like&lt;br /&gt;
&lt;br /&gt;
if(&amp;lt;true&amp;gt;, /*if condition satisfy it will show dropdown else will show nothing*/&lt;br /&gt;
a!dropDownField3(/*this will be your dropdown code*/),&lt;br /&gt;
{})&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56771?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 09:28:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d18d8a0e-6c54-467f-af03-5d0d2358e396</guid><dc:creator>arikd398</dc:creator><description>Hi &lt;a href="/members/chuliangc"&gt;chuliangc&lt;/a&gt; ,&lt;br /&gt;
&lt;br /&gt;
Please find the below ways if it helps:&lt;br /&gt;
&lt;br /&gt;
1.a!sectionLayout(&lt;br /&gt;
      label: Cons!SectionLabel_Name,&lt;br /&gt;
      showWhen: ri!sendingTask/*Condition to check*/&lt;br /&gt;
      contents: {&lt;br /&gt;
	  Dropdownlist&lt;br /&gt;
	}&lt;br /&gt;
)&lt;br /&gt;
	&lt;br /&gt;
2. if(&lt;br /&gt;
        ri!showWhen,/*Condition to check and put the condition here in ri!Showwhen*/&lt;br /&gt;
        a!sectionLayout(&lt;br /&gt;
          label: Cons!SectionLabel_Name,&lt;br /&gt;
          contents: {&lt;br /&gt;
		   Dropdownlist&lt;br /&gt;
}&lt;br /&gt;
),&lt;br /&gt;
&amp;quot;&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
3.Even dropdownfield has a property of showwhen you can use that well.&lt;br /&gt;
&lt;br /&gt;
 a!dropdownField( showWhen:)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56763?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 08:49:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2a0fe2c-6b33-4046-86a6-5001e801ed95</guid><dc:creator>gurdeeps</dc:creator><description>Hi, Use if() here to display dropdown accordingly&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/56762?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 08:27:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:114231fa-8deb-4e9d-9800-a6ac8f0257e6</guid><dc:creator>Anuya Girwalkar</dc:creator><description>You can use the if condition or you can also use the showWhen property of dropdown field.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/33241?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2016 11:34:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0496f596-5f05-4fb1-a7dc-35d38a175e2a</guid><dc:creator>sparshs</dc:creator><description>You can use a simple if condition and if the condition is fulfilled then you can show that drop down and otherwise you can just put there a null value.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/33089?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 16:42:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49d343e9-5b80-4ade-b2f1-947c7b5f066f</guid><dc:creator>saravanarajanj</dc:creator><description>Hi, you can use &amp;quot;if&amp;quot; condition for displaying only 2 dropdownfields. Thanks!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/33072?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 13:30:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c14079e5-4ed2-480f-bf51-edeffa78d965</guid><dc:creator>vishnuv</dc:creator><description>I would suggest to go through below link as well&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/16.2/SAIL_Recipes.html#Configure_Cascading_Dropdowns"&gt;forum.appian.com/.../SAIL_Recipes.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/33030?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 00:21:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fcbb07e0-c1c8-4b1a-bde0-3ba48338b561</guid><dc:creator>Aaron Swerdlow-Freed</dc:creator><description>You&amp;#39;re looking for &amp;quot;if&amp;quot;&lt;br /&gt;It is set up:&lt;br /&gt;&lt;br /&gt;If(&lt;br /&gt;&amp;lt;condition&amp;gt;&lt;br /&gt;&amp;lt;What do when the condition is true&amp;gt;,&lt;br /&gt;&amp;lt;What do when the condition is false&amp;gt;&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Displaying Drop Down Field Conditionally</title><link>https://community.appian.com/thread/33029?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 00:12:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11f114b8-8c26-4e10-947a-5689818ab04f</guid><dc:creator>sikhivahans</dc:creator><description>@chuliangc Hi, have you had a chance to look at &lt;a href="http://bit.ly/29duMmL"&gt;http://bit.ly/29duMmL&lt;/a&gt; ? If not, I would suggest doing so.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>