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.

Custom Dialog In Script W/o Input

Featured Replies

I have created a script that pops up a custom dialog box warning the user that they are about to be logged out due to being idle beyond allotted time. I have set up a Install OnTimer script that initiates the custom dialog box warning and if the user hits OK then it resets the Install OnTimer Script and they have bought more time. The problem I'm having is that if the user doesn't hit the OK button and is idle too long the script is paused indefinitely and I can't close the dialog box and thus log-out the user. How might I get around this?

Don't use Show Custom Dialog[].

Use a dedicated layout conveying the message and having the appropriate "dialog" buttons.

Pause the script for the time you desire to use as a timeout for the dialog.

If you are particularly crafty, you can put a Web Viewer on the layout with some JavaScript displaying a countdown. This is more elegant than refreshing a layout in a script loop.

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.