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.

Running search / filter based on drop down field

Featured Replies

Hi,

I have a database that I want to manage training events.

I want the user to be able to easily sort / filter / search, with one click and only display the records below of the related entry in the drop down.

See attached Pic, the Training Event field sat the top pulls the events from another field

The 'Venue' field in the list pulls the same the data from the same field. (But they are different fields in this database)

So if I select '11/10/2020 - Webinar' at the top, I want it to only display the entries below where the Venue matches.

Is this possible?

Thanks!

 

Screenshot 2020-09-12 at 09.40.40.png

Edited by Chrism

  • Author

My initial testing reveals I can't have the field in the same table as it links to each record and thats not what i want.

I basically want a simple lookup button from the Type field to filter by this I think.

Unless anyone had any other smarter way of doing it?

Edited by Chrism

Is this a list view (all records from same Table/TO), or is it a form view with a portal?

  • Author

Hi List view, I want to be able to see all the records in a list

Have the drop down be a global field based on a value list of Venues.  Use an OnObjectModify script trigger for a script to grab that value, put it into a variable, Enter Find Mode, put the variable in the Venue field, and perform a find.  You can also sort in the script.

You may want to add a 'See All' button with a script to show all records, sort...if needed.

  • Author

Steve, thanks, have you got an example script so I can modify?

Thank you

Why not create a form view based on venue and show a portal to related events that venue?

  • Author

Thanks all, I done what i need with a global field

That UI will not work out well when the Venue list becomes long.

You can use the global field directly in a Find, no need to set a var. Also, OnObjectSave would be a better choice for this trigger than OnObjectModify, since it is a post-event trigger that will allow you to Exit False and keep the user in the field.

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.