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.

FMP-if and .eq. problem

Featured Replies

  • Newbies

Using CDML, I want to display a particular heading if the CurrentFoundCount and the CurrentRecordCount are the same.

When I type [color:green][fmp-CurrentFoundCount] I get 29 (which is correct).

When I type [color:green][fmp-CurrentRecordCount] I get 29 (which is also correct).

When I type [color:green][FMP-if: CurrentRecordCount .eq. CurrentFoundCount]CFC equal to CRC[/FMP-IF] nothing happens. If I change the .eq. to .neq. then it appears...though it shouldn't.

Does anyone have an idea why it is doing this? I don't have a problem with any of my other CDML on the page.

You cannot use CurrentFoundCount as the second parameter in the comparison. Check the description of the FMP-If tag in the CDML Reference database.

THe possible workaround is probably to create an unstored calculated field equal to Status( CurrentFoundCount ) and use the field instead, i.e.:P

[FMP-If: CurrentRecordCount.eq.field: MyFoundCount]

where MyFoundCount is the name of the field.

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.