# Search from text field using the keyboard enter key

**URL:** <https://forum.kirupa.com/t/search-from-text-field-using-the-keyboard-enter-key/63848>\
**Category:** Uncategorized\
**Created:** [September 10, 2004, 3:30pm UTC](https://forum.kirupa.com/t/search-from-text-field-using-the-keyboard-enter-key/63848 "2004-09-10T15:30:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![garyzero](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@garyzero](https://forum.kirupa.com/u/garyzero)\
**Post date:** [September 10, 2004, 3:30pm UTC](https://forum.kirupa.com/t/search-from-text-field-using-the-keyboard-enter-key/63848/1 "2004-09-10T15:30:50Z")

</div>

Hi,

I was mainly wondering what was the correct code to make the keyboard enter key work when I type into a text field the number to be searched?

Thanks,  
Gary

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 4:13pm UTC](https://forum.kirupa.com/t/search-from-text-field-using-the-keyboard-enter-key/63848/2 "2004-09-10T16:13:27Z")

</div>

I got it.

> [@garyzero](#):
>
> Hi,
> 
> I was mainly wondering what was the correct code to make the keyboard enter key work when I type into a text field the number to be searched?
> 
> Thanks,  
> Gary
