Jump 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.

Return key performs script?

Featured Replies

Hello,

I have a basic list view with a search box at the top. It functions very well but in terms of user friendliness I would love to make it so the return/enter key will perform the search script after writing in the search box. Is this possible? How do I activate scripts with keys.

Topher

It sounds as if you have a global field at the top of the list layout that has a button next to it. The button runs a script that enters find mode and sets a field to the global and performs the find. It might even do several new requests in different fields looking to match on any one of the requests. It's a web-like find interface.

So, I don't see a way to make this equal to the Enter key.

If you change the find interface so that you're in Find and paused, then the Enter key would Continue the script and perform the Find.

It's possible with the Enter key (not Return). Just make the searchbox field itself a button that runs the script. Start the script by going to the searchbox field and pausing.

ADDED: It's possible to make it work with the Return key too, but it would require an event-triggering plugin.

Edited by Guest

  • Author

Thank you for your help. That does seem to be the solution, to make the field the button and have it pause indefinitely. I succeeded by doing that, however, with almost every possible combination of the behavior of the field I cannot get the return key to resume the script. What happens is that when I hit return it enters a carriage return (then I change the behavior), or it selects the entire contents of the field. It does, however, work to hit the enter key instead of the return key to continue the rest of the script. Do you have any ideas?

I've tried added a script step so that after the pause it moves to the next field, or a hidden object but to no avail.

Thanks again for your help.

Edited by Guest

My previous post was misleading - I have mistakenly switched the two keys around. You cannot resume a script using the Return key when you are in a field, unless you are using a plugin and the field is formatted to go to next object upon hitting Return. See also:

http://fmforums.com/forum/showtopic.php?tid/184430/post/239829/#239829

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.