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.

"Modal" pop-up windows

Featured Replies

Hello,

I'm using a pop-up window that enters find mode as a method to search the database. I'm not very fond of pop-up windows, as they can get "lost" if the user accidentally clicks outside of them. So, I'm using the "pause script" script step to make the pop-up "modal".

There are two buttons within the pop-up: "Cancel" and "Search". "Cancel" resumes the script and closes the pop-up, while "Search" performs the find and changes the pop-up layout to display the found set as a list.

I also have keystroke triggers, set on every field within the search layout, to trap the return and escape keys. "Return" is supposed to be like clicking the "Search" button and "Escape" like clicking the "Cancel" button.

Clicking the "Search" button works fine, but pressing "Enter" seems to continue the paused script, such that, when the results are displayed, the window is no longer "modal".

Hopefully my explanation makes sense, but I've also attached a lean version of my database to play with.

Thanks for any advice or help you can give.

ScriptTriggerProblem.zip

  • Author

Nevermind. I didn't know that performing a find would cause a paused script to continue. Silly newbie mistake : .

Also, I found a much better method for handling my search, by John Mark Osborne, Here, under "Ultimate Find".

I use a loop to keep the use in the script. Use End Loop to let the script exit when the necessary conditions have been met, or make the button on the layout that the user clicks EXIT the current script.

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.