<?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>How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/discussions/f/new-to-appian/21787/how-to-refresh-textfield-to-be-blank-after-click-any-button</link><description>As title</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85371?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 06:15:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dab59fe5-85b5-46d9-b4b6-fc7b822edb9e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sure. save!value is the value coming from the text field. This is stated very clearly in the documentation. To store null to a variable, you need to use &amp;quot;null&amp;quot; instead of &amp;quot;save!value&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85370?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 05:07:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13ec0fb0-27a9-458c-9ef7-4d9007d11245</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;You are right!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85369?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 04:05:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:086c8951-0b9c-4dc8-974a-4f9aa33db79d</guid><dc:creator>Siddharth</dc:creator><description>&lt;p&gt;Here is a simple code snippet that should help you achieve this functionality. As mentioned by other practitioners, you set the value of your text input to null in the button&amp;#39;s &lt;em&gt;saveInto&lt;/em&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!text,
  {
    a!textField(
      label: &amp;quot;Input&amp;quot;,
      value: local!text,
      saveInto: local!text
    ),
    a!buttonArrayLayout(
      buttons: a!buttonWidget(
        label: &amp;quot;REFRESH INPUT FIELD&amp;quot;,
        saveInto: { a!save(local!text, null()) }
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85367?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 01:51:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d67259c3-dbac-44fd-aa2e-f301d5b6b91b</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;I mean i definitely did with a!save(target:ri!input, value:save!value), but still can&amp;#39;t refresh to blank after click buttons, sorry for bother&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85331?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 10:34:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5cf5b774-f4b3-414b-8d6d-0819ddf934e4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;span&gt;saveInto:{ri!input,a!save(),a!save()},&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is just plain wrong! a!save() has parameters. What do you expect to happen without passing any values?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Why do you not just lookup the documentation? There are examples!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://docs.appian.com/suite/help/21.3/fnc_evaluation_save.html"&gt;docs.appian.com/.../fnc_evaluation_save.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85330?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 10:29:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:04189449-9ac5-406a-8534-ce2299fc4366</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;I did with&lt;span&gt;&amp;nbsp;&lt;/span&gt;saveInto:{ri!input,a!save(),a!save()}, but still not work. By the way, thank you so much for your help, i already finish with that 80 hours tutorial. I see your interface template is really useful, do you have some process model template i can study with? I will be the person in charge of appian in my place at future but none of my team member ever touched appian before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85329?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 10:26:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c7d84cc5-f704-4838-befe-fccebfe4d820</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;but this way may cause ri!inputvalue becomes empty to the database right? I just want it to be saved rightly with value plus the textfield to be blank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85328?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 09:31:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:154e89c0-e362-4949-80f6-341739ae74d9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Kind of. This is absolute Appian basics and there is plenty of documentation and tutorials. Go there first! The community is for more specific questions once you understand the basics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85327?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 09:08:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bedc6c91-6224-4848-8342-942d7c6c644b</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;i didn&amp;#39;t fully understand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85326?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 09:02:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:33e339c2-9105-4833-b501-b2d25c88d400</guid><dc:creator>immortalvirgil</dc:creator><description>&lt;p&gt;do you mean like saveInto:{ri!input,&lt;/p&gt;
&lt;p&gt;a!save(),a!save()&lt;/p&gt;
&lt;p&gt;}?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85325?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 08:32:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21d152e1-54ed-4148-92c0-adab408a64f9</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;If for example, you are saving value of the textfield in variable ri!inputText, then&amp;nbsp;within&amp;nbsp;the buttons&amp;#39; saveInto do a!save(ri!nputText,&amp;quot;&amp;quot;). now whenever you click on any such button, ri!inputText will become blank.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refresh textfield to be blank after click any button?</title><link>https://community.appian.com/thread/85324?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 08:25:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0659d05f-434d-42b0-937e-b3f95b0386a2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The value a field shows is stored in a local variable or rule input. To&amp;nbsp;blank the field you need to modify the underlying value using a saveInto.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>