<?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>Updating local variables on keypress</title><link>https://community.appian.com/discussions/f/general/17614/updating-local-variables-on-keypress</link><description>What I want is for the input field to take in the value, and as soon as it does I want to capture it, and then clear the input. I have the following code for a barcode reader. As you can see, I&amp;#39;m setting the value of my local back to null at the end of</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Updating local variables on keypress</title><link>https://community.appian.com/thread/69413?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 14:14:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d111dcab-44bf-4e0c-aa1c-74a0ae8edeb8</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Yes. I&amp;#39;m sorry for writing text Field. It was supposed to be bar code reader only. And yes, the behavior remains same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating local variables on keypress</title><link>https://community.appian.com/thread/69411?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 13:40:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:992ad2bd-537a-4dc5-88ae-a78aece2265e</guid><dc:creator>Jose H.</dc:creator><description>&lt;p&gt;Harshit,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is not a textfield, this is for a barcode reader. Does Appian have the same behavior across input components?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating local variables on keypress</title><link>https://community.appian.com/thread/69404?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 06:20:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f23b4e84-2bf2-4e65-82ab-9f36eb2cd86b</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the expected behavior of text field which cannot be changed as the value entered in it will stay there until you remove focus from it. The last thing which I tried doing to achieve your expectation was setting the value to null but this also did not helped still it did reduce the lines of code by removing the need of&amp;nbsp;&lt;span&gt;setting the value of the local back to null at the end of all saves. Maybe a custom picker would help you to achieve what you are trying to do.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Harshit&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>