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.

value lists on search pages

Featured Replies

Hi,

I've searched through the archives but haven't found much that helps me.

I just want a drop down list on my search page, it sounds like such a simple thing smile.gif I have the drop downs working on my edit page, there is no problem there, but I've tried everything I can think of for the search page, and it normally just comes up showing the actual text.

I found this in a previous thread:

"For a new record or search it should be:

<Select name="field name here">

<option value=""> - No Selection -

[FMP-ValueList: field name here, List=value list name here]

<option [FMP-ValueListItem]>[FMP-ValueListItem][/FMP-ValueList]

</Select>

It's different for an edit page where there's already a selection value to be shown, and that looks like the one seanc is using to me:

<SELECT NAME="field name">

[FMP-OPTION: field name, list=list name]

</SELECT>"

I tried that, it sounded like exactly what my question was about, but it just gives me the [FMP-ValueListItem]>[FMP-ValueListItem][/FMP-ValueList] text showing.

I'm sure its just something little I'm doing wrong. If you need my code, let me know and I'll paste the relevent parts up.

Thanks in advance!

Jo

You will need to "call" that page through WebCompanion for the [FMP... tags to be processed. You can use the "-view" action tag to access ValueLists etc without having to do a Find.

All the best.

Garry

  • Author

That was perfect!!! Took me a bit of fiddling to figure out how to call it using a view, but I did it!!!

Thanks!

Jo

Well done smile.gif

Garry

My fiddling has been hopeless out of tune, could you please share your solution,

thanks jitse

Create an account or sign in to comment

Important Information

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

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.