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 pause a script after custom dialog until OK is selected...???

Featured Replies

I'm trying to create a script in FM that shows a dialog box and only continues on if the user presses OK. Right now I've got it setup like:

Perform Script []

Show Custome Dialog[]

Open URL []

I'd like for the Open URL part to only happen if the user clicks OK. If they click cancel it needs to halt here and not run the Open URL part. What do I need to do to make this happen? Any info would be greatly appreciated. Thanks!

Take a look at the Online Help for [color:blue]Show Custom Dialog, there are a couple of examples there. In a very simple sort of way, your steps would look something like this:

Show Custom Dialog [ Title: "Choose URL"; Message: "Do you want to open a URL"; Buttons: "OK", "Cancel" ]

If [ Get ( LastMessageChoice ) = 1 ]

Open URL [ FMForumsList::Location ]

End If

The if statement will pause until they click a button, and then respond to how you have set it up.

HTH

Lee

  • Author

That works perfectly, thank you. Can you link me to this online help you speak of?

It is the Help that is available when FileMaker is open. It is part of the application.

:P

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.