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.

Script Runs when going to Next Record

Featured Replies

Hi -

Not sure if I can do this. But - when the user goes to a new record either manually or by a find - I need a script to run. Guess - I could do this by creating buttons to move from record to record and to my finds. But - is there a way to do this with the script be triggered just by changing records? Also - if they do a find and find more then one record - it would need to run the script for all the records found. (LOOP)

UGH!!!

Thanks for your advice -

Not a big deal. Create a transparent (no color and no border unless you want them) field behind the record and assign a script to it. You should also make the fields non-editable on this layout.

  • Author

So - you mean a large hidden field behind my whole layout? Some of the fields on this layout would need to be modifiable - but I could just make the hidden field not under those fields - correct?

I don't know how you're displaying your records...list view maybe? Put this transparent object behind whatever you want the user to click on. In list view, I make it the bottommost object. Any FM object can have a script assigned to it...buttons, boxes, circles, etc.

  • Author

See that's my point - I don't want the user to have to click on anything. I just want the script to run automatically when the record is brought up - either by clicking on the rolodex and/or doing a manual find.

That is why I was thinking - I would need to create buttons to scroll through the records and do finds.

Does that make sense?

Thanks

I think that, to achieve what you want, you have to script your entire solution, including finds, navigation, etc. That is, no manual finds and no clicking on the rolodex to move from record to record. There may be a plug-in that will do what you want, but I'm not informed enough to recommend one.

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.