Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8409 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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?

Posted

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

This topic is 8409 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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