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.

Exiting find mode before running a script

Featured Replies

I have a database that users use to keep track of contacts. Users Frequently go into Find mode and forget they are in there, then click the New Record button to create a new contact record. I have a script that runs when they click the New Record button that first requests an email address for a new contact record and won't let them continue until they enter it. If they are in find mode and this script starts to run, it won't allow them to save the information they enter because they are still in Find mode. Is there a way to check to see if they are in Find mode and exit out of it before continuing with the script?

The Get( WindowMode ) function does what you want.

I have a script that is called as a subscript by any script where the user may be in find mode. It is called "Test for Find Mode (Halt)" It evaluates the Current Mode, and if 'Find' it returns this message: "You are still in 'Find' mode. You need to Perform your find request before using this button"

  • Author

Thanks, mikewson! I took your suggestion and added a test to see if the user was in find mode and if they were, displayed a custom dialog telling them to finish their search or cancel it and then click the new record button again. It seemed like the simplest approach to use.

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.