# \[solved\] starting a find with \[return\]?

**URL:** <https://techcommunity.softwareag.com/t/solved-starting-a-find-with-return/177442>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX\
**Created:** [July 16, 2014, 8:11am UTC](https://techcommunity.softwareag.com/t/solved-starting-a-find-with-return/177442 "2014-07-16T08:11:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ma\_We](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Ma\_We](https://techcommunity.softwareag.com/u/Ma_We)\
**Post date:** [July 16, 2014, 8:11am UTC](https://techcommunity.softwareag.com/t/solved-starting-a-find-with-return/177442/1 "2014-07-16T08:11:58Z")

</div>

Hello,  
how can I start a find/search in ajax, when the user hits [return] after he’s written the search-text in a field?  
At the moment the user must klick on a button to start the find, but this is not very comfortable:

```auto

  VALUE U'onSearch'
**SAG DEFINE EXIT EVENT-onSearch

FIND FOO WITH BAR = #FOOBAR
  MOVE X TO FX
  MOVE Y TO FY
  MOVE Z TO FZ
END-FIND
```

I’ve looked at some Doku, but could not find a solution.

Thank you very much for your helping hand! 😃  
cu,  
Matthias

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [July 16, 2014, 8:30am UTC](https://techcommunity.softwareag.com/t/solved-starting-a-find-with-return/177442/2 "2014-07-16T08:30:45Z")

</div>

Hi Matthias,

you can apply hotkeys for single controls and/or for the whole page.  
A corrsponding hotkey for the [return] should do the trick.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Ma\_We](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Ma\_We](https://techcommunity.softwareag.com/u/Ma_We)\
**Post date:** [September 15, 2014, 3:58pm UTC](https://techcommunity.softwareag.com/t/solved-starting-a-find-with-return/177442/3 "2014-09-15T15:58:03Z")

</div>

Hi Christine,

it works! 😃  
Thx for your help,  
cu,  
Matthias

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:31pm UTC](https://techcommunity.softwareag.com/t/solved-starting-a-find-with-return/177442/4 "2021-04-02T15:31:33Z")

</div>


