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.

Designating user names

Featured Replies

I would like to create user names that simply takes the user's first and last name and put them together. My problem is, if there are duplicate names, I would like the field to automatically calculate it so that it ends up being FirstLast2, FirstLast3 etc... How would I go about doing that?

Thanks, Anita

Hi,

This is going to need a script. I suggest a procedure something like this. User enters their first name and last name. These are then combined in a calculation field (Name) to be FirstLast. Then a search of the UserName field is searched. This will return all the UserNames which contain this combination. If there are no users with that name then the new UserName is Name, else it is Name and a number.

The script would look something like this:

Copy [Name]

Enter Find Mode []

Paste [userName]

Perform Find []

If (Status (CurrentFoundCount) = 0)

Set [userName = Name]

Else

Set [userName = Name & (Status(CurrentFoundCount) +1)]

End If

Good luck!

  • Author

Thank you SO much for your help! I used a slightly modified version of the script you provided and it now works great!

Thanks smile.gif

Anita

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.