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.

Highlight a portal row

Featured Replies

Hi, I have a portal for users to input data. After users input the first two fields, I want to do a search to see if there are any existing records in the portal have the same values in these two fields and then highlight the existing record for users. My problems are:

1. I don't know how to highlight something in portal.

2. How do I trigger the script when user leave field two? Currently I am using FMP 9, I heard FMP10 can do that but I don't plan to update at this time.

Thanks in advance for your help.

  • Author

Ok, I know how to highlight a row now. The way I plan to work on this problem is to setup a script and add a new field called highlightMe in the portal table. Every time when the first two fields of a new row are added (Field A and AA) to the portal, I will loop through the whole portal. If I find an existing record in the portal with the same fields A and AA, I will change this record's HighlightMe to some number so the conditional format will work. I feel this is definite not the best way to handle it. Can self relationship help here? How can I change the value of HighlightMe field by setup a self relationship?

Thanks.

You can trigger it by using a variation of these technique

http://www.nightwing.com.au/FileMaker/demos8/demo806.html

http://www.filemakermagazine.com/videos/highlighting-portal-rows.html

http://www.filemakermagazine.com/videos/highlight-record-row-in-list-view.html

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.