<?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>Default Value</title><link>https://community.appian.com/discussions/f/user-interface/38263/default-value</link><description>i have 2 drop down. 2nd drop down is dependent on 1st value 
 so i have to show default value in second one once the user select value in first dropdown when i has only one option in second dropdown 
 
 this value i have to default once the value is deleted</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Default Value</title><link>https://community.appian.com/thread/144099?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 18:38:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b1f2838-b010-479e-9cb7-d0214a389838</guid><dc:creator>G Nithisha </dc:creator><description>&lt;p&gt;You have to pass data conditionally based on the first drop down value through parent Interface/Process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default Value</title><link>https://community.appian.com/thread/144091?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 15:44:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e664855e-b563-4548-be76-3cab37c7ed71</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is pretty tricky, but sometimes you can accomplish it when the conditions are correct (and your requirements not too finnicky).&amp;nbsp; Caveat that you need to *really* know what you&amp;#39;re doing in terms of SAIL / expression coding, or else you&amp;#39;ll probably get lost.&lt;/p&gt;
&lt;p&gt;Generally what you want here isn&amp;#39;t as much &amp;quot;show default value&amp;quot;, but more like, &amp;quot;when a value for dropdown A is selected that causes dropdown B to only have one choice, save that choice for value B automatically&amp;quot;.&amp;nbsp; I make this distinction because even if you manage to trick Dropdown B into &amp;quot;showing&amp;quot; the only value, it won&amp;#39;t actually persist that value into the desired target unless you take extra action.&lt;/p&gt;
&lt;p&gt;The easiest place in which to accomplish this is probably the SaveInto for Dropdown A - but that still depends on some conditions, like the source of the data for the choices for B (is it querying? reading a constant? hardcoded in the form? etc?).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>