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

[FMP-IF: TicketN.eq.[FMP-CurrentToken]]

How can I get this to work?

If you do not have a copy of the cdml reference db you should get it from fm's website. Using it can broaden your understanding.

This example is from "Current Token"

[FMP-If: CurrentToken:5.eq.{CurrentToken:6}]

Adapt it to meet your needs.

I'm not knocking the advice you gave -- everyone should have (and learn to use) the CDML Tool. It's the best help we've got. But your example reminds me that I think I'm seeing a certain number of errors in it.

For example, I just successfully used this:

[fmp-if: currentFoundCount .lt. {currentRecordCount}]

But if you go over the description of [fmp-if] in CDML Reference.fp5, the allowable expressions in the third parameter are quite limited compared to the first parameter, and replacement expressions like {currentRecordCount} or {CurrentToken:6} are not among them.

It keeps insisting on "literal values" -- but isn't that an error? Or am I reading it wrong?

The code you originally presented: [FMP-IF: TicketN.eq.[FMP-CurrentToken]]

The code example I responded with: [FMP-If: CurrentToken:5.eq.{CurrentToken:6}]

The code which you "just successfully used": [fmp-if: currentFoundCount .lt. {currentRecordCount}]

The example I presented used curly brackets. The code you originally presented used square brackets. The code which was successful for you uses curly brackets.

The brackets were the point. I'm glad you got it.

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.