<?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>Conditionally Autofilling Text Field</title><link>https://community.appian.com/discussions/f/user-interface/19645/conditionally-autofilling-text-field</link><description>I&amp;#39;m trying to conditionally autofill a text field based on two other text fields above it. I&amp;#39;ve gotten the value in the text field to display correctly however the value doesn&amp;#39;t save into the variable set in the &amp;quot;saveInto&amp;quot; property. I&amp;#39;ve tried changing</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Conditionally Autofilling Text Field</title><link>https://community.appian.com/thread/76760?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 16:41:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b1409e1-7222-40dd-b318-3b0ca45fb4fe</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Great!&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f44d.svg" title="Thumbsup"&gt;&amp;#x1f44d;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditionally Autofilling Text Field</title><link>https://community.appian.com/thread/76758?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 16:25:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1092507a-2ce1-4763-ac82-d6d01bc86ffc</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;I used the saveInto on an above text field and that worked perfectly. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditionally Autofilling Text Field</title><link>https://community.appian.com/thread/76757?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 16:14:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ffbce2e-7a75-4223-95f9-88e6f99cc241</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Hi Jack, note an input field will only call it&amp;#39;s saveInto parameter if it is interacted with by the user (this is where all of your a!save&amp;#39;s must reside).&amp;nbsp; If you are using this field for display only it will not update any values itself, due to no user interaction.&lt;/p&gt;
&lt;p&gt;Typical designs in this scenario include utilizing the saveInto on your editable text fields above to also populate this third variable, or utilizing saveInto within the submit button, so the local! value can be persisted out when the form is being exited.&amp;nbsp; For example, the Submit button would mimic the logic in your read-only text field as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!buttonWidget(
  label: &amp;quot;Submit&amp;quot;,
  value: false,
  saveInto: {
    ri!cancel,
    a!save(
      ri!whereYouWantYourDataToGo,
      if(
        and(
          local!SealManuf = &amp;quot;XYZ&amp;quot;,
          not(isnull(local!SealPartNum))
        ),
        mid(local!SealPartNum, 8, 3),
        local!SealModel
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>