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.

Displaying multiple finds from same field...

Featured Replies

  • Newbies

I'm new to CDML, so I hope somebody could help me on this one...

I have a database with a text field "Location" . Every record could have multiple locations (Displayed as a standard field in FM, users click enter after each location if more than one is required)

Each record also has a checkbox field "Remove". (Value "checked" when checked)

I need to display a web page that would display every single "location entry used on the DB (there may be a few in each location field) as a header (there would be as many headers as there arer location entries), and records listed after each header that has this criteria (Location contains "location header text" AND "Remove" is not checked)

I don't need a form on this, since no input is required, but I'm stuck trying to display this info.

I have a value list that uses the value from the "Location" field, so I'm thinking about using [FMP-ValueList] [FMP-ValueListItem] and [FMP- InlineAction], but I can't quite put it together.

Can anybody help?

Thanks

Frederick

It is clear that you are confused.

You need to perform your find in the field "location".

On your results page you will need to use an fmp-if conditional such that

[fmp-if: remove .eq. checked]

these records are displayed

[/fmp-if]

or possibly

[fmp-if: remove .neq. checked]

these records are displayed

[/fmp-if]

If you would like to see an example of an fmp-if conditional, you can download either of the two (or both) of the demonstartions which I have posted on the Sample Files forum. You may find several other questions answered there for you as well.

Good luck.

What is happening when you use, [FMP-ValueList][FMP-ValueListItem][/FMP-ValueList]

Are you making a call to FM, with an Action tag, to display this page; e.g. '-view'?

Good Luck.

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.