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.

Is there a way to prevent double clicks on buttons??

Featured Replies

I have a script activated by a button on FM that simply uses a web viewer to open an ASP script. When you double click this button instead of single click it the script actually runs twice and causes duplicates in our data.

Is there a way to prevent a double click on a button within filemaker? any information would be greatly appreciated. thanks!

In your script, add a step that places the current date into a date field. Then, add an If statement that checks if the date field is empty in order to continue on with the web viewer display.

  • Author

I went a slightly different route (still the same idea) and created a field called Auction_Post_Check and simply populate it with a 1 upon clicking the button. Then I added an If/Then around everything so that if it already has a 1 it won't activate the ASP script.

Ran a test and it seems to have worked great. Thanks a lot!!!

Excellent! Glad to hear it works for you. The only reason I use a date field is so I can tell when the action took place. You could also use a Timestamp field.

Wouldn't defining the button as 'Current Script: Halt' do the job?

Or, if it's essential not to abort the script already running, you could set the button to 'Current Script: Resume' and add a script parameter = Get (ScriptName). Then start the script with:

If [isEmpty ( Get ( ScriptParameter ) ) ]

...

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.