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.

Reload Page/Go to first found record

Featured Replies

Hi!

I have a web page that allows user to find certain records and then edit them. After the record is edited I use PHP script to enter data into database and return user to the "browse" screen. The problem is that the user shouldn't see the records that have been modified today. When the user returns to "browse" screen, the set of the found records is still the same as it was in the original search. However, when the user clicks "next" link, the page refreshes. For example, if the user find 7 records it shows "Found:7, Showing: 1" in the first place. When the user modifies a record, returns to that screen, and clicks "next" it shows - Found:6, showing 2. So, it shows second record but in the new found record set. One record is skipped. The user never sees the previous record unless he hits the "first" or "previous" link at the bottom of the page.

Is there any way that I can control the record being displayed before the user sees it? always display the first record? in the script?

Also if I do javascript on page load event that refreshes window - FIlemaker gives me error -4.

I am very confused and have no idea how to fix it. I will appreciate any help.

Thanks

You cannot go "back" and expect to see the updated found set. You will need to do another search!

Maybe you can use an [FMP-InlineAction] in your Format file returned after the "-edit".

All the best.

Garry

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.