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.

Execute a script when the user hits the enter key

Featured Replies

Is it possible to execute a script when the user hits the enter key in a layout? I'd like to create a "default" button in a standard layout if possible.

As far as I know, you can't do this without a pricey plugin. I can think of a couple of workarounds, though.

You could set up your scripts so the user is always in "pause" mode. That way, hitting the enter key will continue the script, performing subscripts or whatever you need. This can be pretty tricky to keep synchronized for the user, unless the user is always doing a small series of standard data entry steps.

A more drastic workaround would be to leave your script available under the "Script" menu. This way, the key combination Apple-1 will trigger it (Control-1 on a PC). Now get one of those keyboard redefining utilities and redefine your enter key to be Apple-1.

I *told* you it was drastic!

Steve Brown

Create an account or sign in to comment

Important Information

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

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.