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.

Alpha sort values in field

Featured Replies

Hey kids.

I'm looking for something like a Set Field script step to use to sort a return delimited list that is contained in one field.

Example: I have a field called ListOfInvolvedEmployees that a script keeps adding names to. Each name is separated by a return, looking like this

Andy Nonymous

Noah Boddie

John Dough

I would like the script to make the list look like this

Andy Nonymous

John Dough

Noah Boddie

or sort by last name, but I'm sure that this is easier.

I know that I could create a separate file viewed through a portal, but I want to be able to index the field for possible relationships.

The list could have anywhere from one to twelve names in it.

Thanks.

Paul

ValueListItems trick to the rescue again.

Set up a self-relationship based on a unique field (such as serial number). Then create a value list based on this relationship using values from ListOfInvolvedEmployees.

Then, you can use this Set Field step:

Set Field [ListOfInvolvedEmployees , ValuelistItems("myFileName", "MyValueListName")]

  • Author

A thing of beauty, Bob.

Thanks.

Paul

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.