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.

Can you have a popup on a button?

Featured Replies

I cannot seem to figure out how to get a button to show a popup. Are these only available to fields? That would be a bad interface assumption on FileMakers part. I hope that is not the case.

I have a row of buttons at the top of the window that run scripts. One of these buttons ( I had planned ) was to have a popup that displayed a value list (already created) that had a list of the other records in this table so that the user couid jump to the another record in the list.

Thanks in advance.

Popups are for fields. You can have a button laid over a field with a popup menu. When you click the button, the script should select that field. This will allow the field to popup with the menu.

However, since you want it to perform an event after you select the popup selection, you will need to use an Event Script plugin. There are many out there. I use the one by Gaston Forgues, http://www.softs4humans.com/FMPro_Plugins.html.

I have it so that the script pauses right after selecting the field with the popup. When the user selects the choice you can have it in the rest of the script to go to the related record.

There may be a better way of doing this, but this is the way I solved that issue.

  • Author

"Popups are for fields." I was afraid of that. That is a truly stupid interface assumption on FileMaker's part, sometimes I find it hard to believe that this company is affiliated (owned by ?) with Apple.

A plugIn would not be an option in this case.

"You can have a button laid over a field with a popup menu. When you click the button, the script should select that field. This will allow the field to popup with the menu."

I am going to try this option, I'll report back my failure or success.

Thanks again John, you saved me a lot of wasted time.

I cannot seem to figure out how to get a button to show a popup. Are these only available to fields? That would be a bad interface assumption on FileMakers part. I hope that is not the case.

Personally, I hadn't thought of doing this, nor have I heard of people needing to do this. :qwery:

  • Author

It is perfectly acceptable to use a popup to populate a field upon a user's choice in that list.

It is a significantly more common practice to have a popup execute an action when the user chooses something from a list. It is in quite a few app building software: Flash, Acrobat, JavaScript, etc., but where you see an example of them more than anywhere is on the web, they are everywhere.

Maybe the FileMaker folks should think about adding them...

  • Author

This is only a test.

I am having some trouble with my email replies...

  • Author

Yet another test...

  • Author

Sorry, yet another...

  • Author

and another...

It is a significantly more common practice to have a popup execute an action when the user chooses something from a list.

That's different from what you originally asked. A pop-up would be attached to a field (not a button.) Follow mr_vodka's advice for getting a script to execute automatically after selecting from a pop-up.

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.