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.

How to create keypress check for specific key to run script on exit of popover

Featured Replies

I want to be able to create a popover that when pressing a specific key it exits to a certain script.  This is in a layout where a part is looked up.  A variable has been create with the following Set variable [$Gnumber;Value:""] which then displays in a popover which I want the user to enter the number and then press a certain key (like F8 or F9) which then runs a script that assigns that variable to perform a find in the database.  My issue is how do I test for certain keystrokes in an easy way, what codes are assigned to function keys or even the enter key?

 

Thanks

Paul

2 hours ago, Tron50 said:

A variable has been create with the following Set variable [$Gnumber;Value:""]

Unrelated to your question, but setting a variable to an empty string does not "create" it. On the contrary: it erases it, if it already existed. If it didn't, the action does nothing.

WRT to the question, it seems that a custom dialog, showing a global field, would be a more appropriate choice here.

  • Author

Yep your right, I typed before I thought.  The Done button sounds like a god idea and simple

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.