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-Field HELP!

Featured Replies

HELP!

I have got some behavior I just cant figure out. I do a search to access a particular record:

http://xx.xxx.xx.xxx/FMPro?-db=Research....tures&-find

This works as I would expect. I can see my FM database file perform the find, it locates the one record that matches the search. My CDML tags displays my information from the record correctly on my web page, EXCEPT...

I have one tag that is not displaying the correct information.

[FMP-IncludeField: ifredirect1]

What this tag is doing is displaying the contents of the field called "ifredirect1" from a different record other than the found record. In fact, it is displaying the contents from the very first record in the database. Yet every other tag on my web page is displaying information from the found record. I can not figure this out for the life of me. I tried including -Op=eq in my URL, but that makes no difference.

Anyone have any suggestions?

Larry

I've never heard if the FMP-IncludeField CDML tag, and I cannot find the CDML Reference Db to look it up either.

What is the FMP-IncludeField tag meant to do?

This is from the CDML DB:

===============================

What it does

[FMP-IncludeField] is replaced with the contents of a field, usually a text field that contains an HTML format file.

Syntax

[FMP-IncludeField: Fieldname ]

Parameter(s)

First parameter: Name of the field to include.

Syntax example(s)

Include a file using an HTML file

[FMP-If: firstName .neq. "bob" ]

[FMP-IncludeField: errorPage]

[FMP-Else]

[FMP-IncludeField: otherErrorPage]

[/FMP-If]

==================================

I think this may have been removed in FM6. However, [FMP-Include] remains.

All the best.

Garry

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.