Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

using the enter key to start a search

Featured Replies

hey there everyone.

i have a search page that asks for a account number. if you put the number in and push the search key it goes on to the search found page with the resaults from the serch. but if you use the "enter" key or the "return" key it gives you an error.

" unable to process your request because the server encountered and unexpected condition. for more details on error number 4, refer to the filemaker help topic Status(CurrentError) and contact your administrator"

this only happens when you press a key to start the search. any ideas.

Peter

The button which you click to activate the search is likely adding one or more additional steps which are required to activate the search correctly in your database.

If so, activating the search from the keyboard will produce a different outcome.

If you go into layout mode and check what script is assigned to the buton you are clicking, then go into ScriptMaker and examine the difinition for that script, that may give you some answers.

If desired, you may be able to contrive to have the script already running, but paused, while you are in find mode, so that using the enter key (not return, though) will continue the script to perform the find.

Add this line to your form:

<input type="hidden" name="-find">

This should help.

Garry

  • Author

Thanks that worked great.

Peter

  • 6 months later...

I had a similar problem.

When I had only ONE visible field on my search-layout then hitting enter or return would produce an error message, with two or more visible fields everything worked as expected. Was driving me nuts.

Adding

<input type="hidden" name="-find">

to the code made everything work with only one visible field, which is what I needed for my project, so thanks for this tip!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.