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.

If at first record, how dim [Prev] button and disable?

Featured Replies

I've set up [Prev] and [Next] buttons to move through records in a layout.

When the user is at the first record I would like the [Prev] button to turn gray (not disappear) and be non-clickable. Same for the [Next] button when user is at last record.

Is this possible? Thx.

Easy...

Previous

If (get(RecordNumber) = 1; InactivePrevious; ActivePrevious)

Next

If (get(RecordNumber) = Get(FoundCount); InactiveNext; ActiveNext)

The calculations go into a calculation field called next or previous with result container ... make sure its unstored aswell... the reference made to InactivePrevious etc. are the fields where you store either the image itself (i.e. in a container field)... or the image path in a text field...

have fun

genx

that was for the image... for the script to attach to the button you would have something like

Next

If Get(RecordNumber) = Get(FoundCount)

Do whatever when last record

Else

Do whatever when not last record

End If

...etc

  • Author

Thanks for your help, aflgenx. I *finally* succeeded, but only after a lot of trial and error (and a bit of cursing) as I tried to figure out how to put all the pieces together. This would make a great tutorial for beginners like me with a bit of fleshing out and going step by step.

Thanks again.

  • 2 weeks later...

lol... yeah im a bit slack.. sorry bout that

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.