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.

cancel button in dialog box

Featured Replies

I have a custom dialog box that prompts the user for input to use in the current script. However, if the user clicks Cancel instead of OK I want the script to Halt. Currently, the script continues regardless if there is any input or not.

When you say the user clicks cancel do you mean that X in the upper right corner of the dialog box? If so I believe that this is typical behaviour. There are a number of previous posts on this forum and others concerning this topic and how to remedy.

Hennaquick:

In your script, just after you put up the custom dialog box, you can check for the user's selection. Depending on which button is the default, you'd do something like this:

If [Get(LastMessageChoice)=2]

Halt Script

End If

The buttons are numbered, which is the number you can check for.

-Stanley

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.