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.

Filtered Value List

Featured Replies

Hey Guys,

 

Having a bit of a nightmare trying to get my head around filtered value lists, and I'm guessing it's a relationship issue.

 

I've got two tables:

 

Item - Fields (id, name, linked_category)

Category (cat_id, name, filtername)

 

When creating new items, in the items table, I'd like to be able to have a category dropdown that I can filter (over 300 possible categories).

 

I was hoping to do this by using filtername, whereby the dropdown list of categories that I can choose for an item shows only values where filtername=value.

 

Whats the best way to go about achieving this ?

 

Thanks

 

James

 

 

Hi 3guk,

 

To achieve this, you'll need to enable the user to specify the filtername in the item record in order to then present them a list of the corresponding values from the Category table. So you'll need a filtername field in the Item table (you might consider making it a global field, assuming you don't need the value to persist in each record), and then a relationship (using the equijoin "=" relationship operator) from Item to a Table Occurrence of Category that matches the filtername fields in both tables.

 

With this set up, you'll then be able to set the value list to use values from the Category table occurrence (the one related Item::filtername=Category::filtername, choosing the option to display only related values, and specifying the "starting from" context as the Item table.

 

Regards,

Ray

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.