<?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>Key &amp;quot;ENTER&amp;quot; press should submit value in text box</title><link>https://community.appian.com/discussions/f/general/34840/key-enter-press-should-submit-value-in-text-box</link><description>Hi Team, 
 I have a Text Box and Button beside that text box, when I enter anything in the text box and hit on &amp;quot;ENTER&amp;quot; button on keyboard I want the Button to submit the data. 
 Is it possible in Appian ? 
 Thanks 
 Bihitak</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Key "ENTER" press should submit value in text box</title><link>https://community.appian.com/thread/134561?ContentTypeID=1</link><pubDate>Wed, 01 May 2024 11:23:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5da66a90-c8f3-41c7-aacb-80d871acb346</guid><dc:creator>Harsh Kumar Agarwal</dc:creator><description>&lt;p&gt;As I mentioned earlier saving data on hitting &amp;#39;ENTER&amp;#39; in a text box is not a best practice. Although you can achieve it using &amp;#39;writeRecords&amp;#39; or &amp;#39;writeToDataStoreEntity&amp;#39;. Follow the code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!note,
  {
    a!textField(
      label: &amp;quot;Text&amp;quot;,
      value: local!note,
      saveInto: {
        local!note,
        a!writeRecords(
          records: recordType(recordTypeField: local!note, )
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Key "ENTER" press should submit value in text box</title><link>https://community.appian.com/thread/134559?ContentTypeID=1</link><pubDate>Wed, 01 May 2024 10:01:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c3ed53a2-a2ff-45b6-b862-f15c4bad1cf9</guid><dc:creator>bihitakdass</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Key "ENTER" press should submit value in text box</title><link>https://community.appian.com/thread/134536?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 16:40:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1267f3d1-503f-4502-ad48-ba8bec28d843</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;There&amp;#39;s no OOB way to make the Enter button do this.&amp;nbsp; It will perform the text box&amp;#39;s SaveInto (some people are unaware of this), but there&amp;#39;s no way to make it trigger anything external such as a button click.&amp;nbsp; If the user presses &amp;quot;tab&amp;quot; they can tab to the button then press Enter or Space to trigger its behavior, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Key "ENTER" press should submit value in text box</title><link>https://community.appian.com/thread/134533?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 16:09:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:690d8a46-eb92-4451-b251-b3624f11d258</guid><dc:creator>Harsh Kumar Agarwal</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/bihitakd0001"&gt;bihitakdass&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Can you share the use case that why you want to save data in DB on &amp;#39;ENTER&amp;#39; button and not keeping in variable and save in DB after the submission of form?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>