Skip 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.

Condense a values selected

Featured Replies

In a database I am currently developing, I have a value list that is:

1-presentation of a paper or a creative activity

2-organize a conference or other official duties at a conference

3-service as a panel chair, referee or other activity listed in the program

4-conducting research

5-workshop or conference attendance

It’s a checkbox set, allowing the user to select more than 1 value.

On another layout, I am trying to display only the number(s) that were selected. For example, 1,4 or just 1

I was trying to make a calculated field with the list and trim function, but just can’t seem to get it going… any assistance would greatly be appreciated.

Put your values in a table with two fields: ValueID and Description. Change your value list to use values from field ValueID, also showing the Description field.

To show the selected values in a condensed form, substitute ¶ with a comma.

Substitute ( Filter ( yourCheckBoxField ; "12345¶" ) ; ¶ ; "," )

For order purpose, this is better:

Let(

values = Substitute ( FilterValues ("1¶2¶3¶4¶5"; Filter ( yourCheckBoxField ; "12345¶" ) ) ; ¶ ; "," );

Left ( values ; Lenght ( values ) - 1 )

)

  • Author

Thank you both Comment and Daniele

I tried both methods and found Comment's recommendation simpler

So I have a value list based on a table. Fields are code and description. I have a calculated field clist_priority... and it lists all the selection.

My question now is how do I make it so the clist_priority to show 1,4,5 instead of

1

4

5

?

Thanks bunches

Substitute ( SelectedValues ; ¶ ; "," )

Or, if you want them sorted (instead of listed in the order they were selected);)

Substitute (

FilterValues ( ValueListItems ( Get (FileName) ; "YourValueListNameHere" ) ; SelectedValues ) & ¶ ;

[ "¶¶" ; "" ] ;

[ ¶ ; ", " ]

)

Edited by Guest

  • Author

Thanks

the first calculation worked like a charm

Thanks bunches

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.