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.

Customizing fields for output web based form

Featured Replies

  • Newbies

We have a FM 5 Unlimited with several dbs. One of them is a simple bibliographic database with a search-result form.

Now, our customers asked us on the possibility of customizing the result list throgh a web based form. Just before submiting the search, a radio-button based form asks user which fields he wants to see on the list result.

Is it possible to do on the same form? (The selection and the search)

We have found a solution in two steps: First a form with -edit change the values (1,0) of global fields, and after that the result page is the search page where the user introduces the request. The result page, the list, is based on the global values (If m_author=1 then show author...).

But the problem appears when two o more searches are done simultaneously. After selecting fields to show, if just before introducing the search another user change the variables of fields to show, the firs one will have the list results based on the second user selection.

Does anyone have a solution?

Depending on how many fields you could use tokens so if they choose yes for show author and this put a yes on -token.1 then use [fmp-if: currenttoken:1.eq.yes][fmp-field: author][fmp-else][/fmp-if]

Hope that helps

Simon

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.