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.

Featured Replies

Hi All,

I have a DB that shows what a bidder has won at an auction. I show it in a portal on the Bidder Page (below). If it is a certificate, I have it checked as "Yes" on the catalog item on the catalog page. I am trying to figure out how I have a "Custom Dialog" box pop up if the field is Yes in the portal. I know how to do it on a page, but not when it shows in the portal.

 

Any help would be greatly appreciated.

 

MG

 

 

yes.gif

Hi,

 

if I get you right, you should be able to do it like this. 

I assume that you use some trigger to show the customer dialog (button or script trigger on load).

 

All you need to do is in your script

If [ PatternCount ( List ( RelationToPortalRecords::CERT ) ;  "YES" ) > 0 ]

Show your dialog..

End if

 

List creates a ¶-separated list of all entries in a related table's field.  So all you need to check if there's at least one "YES" in the list.

 

Best,

Alexander

PatternCount ( List ( RelationToPortalRecords::CERT ) ;  "YES" ) > 0 

 

=

 

not isempty( filtervalues( List ( RelationToPortalRecords::CERT ) ;  "YES" ) )

 

This might be a bit quicker because FMP does not have to count all the values returned.

Create an account or sign in to comment

Important Information

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

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.