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.

[FMP-CurrentFind] ...return only selected fields

Featured Replies

hello People!

here is my problem: on the Results Page

[FMP-CurrentFind] [FMP-FindValueItem], [/FMP-CurrentFind]

this works great but I would like to choose which fields from the entered search I can display. This CurrentFind returns all of the search critearia eg. Name, Location, Date, Time,Tel

I would like to have an option to dispaly only eg. "You Searched for this date range:[Date]-->[Date] for name: [Name]" and ignore the fact that user typed more criteria on the Search page.

You ask Why not all of the entered fileds?- Well since I am using some hidden fields in Search Page I would like the Results of it to stay hidden smile.gif

1] So the Command is?::

thanx guys

  • Author

is it possible?

anything?

no.... frown.gif

"this works great but I would like to choose which fields from the entered search I can display."

Assuming that you do want to display the valueitem, why not do that and then treat the fields as you would in any find, e.g.:

<p>[FMP-CurrentFind] [FMP-FindValueItem], <br>[/FMP-CurrentFind]

<p>

<table>

[fmp-record]

<tr><td>

Found names, last name first: [fmp-field: lastname], [fmp-field: firstname]

</td></tr>

[/fmp-record]

</table>

  • Author

that is what I am doing; as I said I display info from then database just fine and leave out those I don't need. The problem is in this:

[FMP-CurrentFind] [FMP-FindValueItem], [/FMP-CurrentFind]

because it shows ALL the entered form fields from the search page on which I have a hidden field whose display I do not want show with [FMP-FindValueItem].

eg.

----Search.html------------------------------

Date:[1/1/2003] to:[1/11/2002]-----a range

Name:[Jack]

hiddend field[some TOKEN.0]

---------------------------------------------

----Results.html------------------------------------------------------

using: [FMP-CurrentFind] [FMP-FindValueItem], [/FMP-CurrentFind]

to get:

You searched from:1/1/2003 to 1/11/2003 for: Jack [TOKEN.0]

-----------------------------------------------------------------------

...THE PROBLEM:but I do not want to display TOKEN.0?!!!!!!

So I guess what I am asking is how to "cut up" [FMP-CurrentFind] [FMP-FindValueItem], [/FMP-CurrentFind] display to my desire?

Ok. Tuesday before lunch is not a cosmic time of the week. But I see what you're saying. Basically you have multiple search criteria which includes (at least) a date range, a name and a token, and all those search criteria are being displayed with this tag. And yes, that is the way it is supposed to work; and no, I don't know of a way to restrict that tag.

  • Author

smile.gif

sorry maybe I wasn't clear first time....but thanx for the feedback. NOW I KNOW for sure that it is not just me.

It was a thought!

live and learn

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.