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.

Capturing FM Dialog box

Featured Replies

If a layout has “Save Changes Automatically” unchecked in layout setup, a dialog box pops up when a value is changed in a field.

I am wondering if there is a way to capture the choice made by the user (Don’t Save/Save/Cancel)?

Can Get(LastMessageChoice) be used for this purpose?

No it only works with Show Custom.... but since you havn't said anything about context and purpose, perhaps a feature like this:

http://www.filemaker.com/help/FunctionsRef-253.html

...could be utilized instead??

--sd

  • Author

Hello Soren:

Here is the context: Currently the user clicks on Save and then clicks on a Next button (thus 2 clicks) that takes him to the next data entry layout where the same thing happens, click to Save and click Next to move forward to a 3rd data entry layout. I was hoping to combine both actions in one click: if the user clicks on Save, FM saves and switches to the next layout.

I took a look at the Get(RecordModificationCount); If you could suggest how I can use it to combine Save and Go to Layout X in one click I will be very grateful.

PS: the layout has Parent and child records in portal just like an Invoice/InvoiceLineItems.

Ah! the Idea I had was to set a variable inside the validation and compare it with Get(RecordModificationCount) but it won't happen anyway because the validation kick's in after committing the record.

Perhaps it should be approached differently by being eternally in a paused script?

--sd

Alright I gave this a stab, and a way to accomplish the desired behaviour via the Zippscript plugin:

http://homepage.mac.com/jkornhaus/filemaker/plugins.html

But since I refrain from plugin use at large, do I hardly have much experience with this plugin either. The attached themplate does what it's supposed to do when keeping it inside the same record, but as soon as the user create a new record will the script trig twice ...

Probably something simple to solve?:

--sd

InfernalScript.zip

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.