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.

How to make a Custom Unique Field?

Featured Replies

Hello all,

I have lets say twp fields: FirstName & LastName

Want I would like to do is to make a custom Unique field out of both of these fields. Maybe 3 letters from the first and 3 letters from the last ex: Ruth Chris

= RutChr. Is there a way todo this?

Also, I have been think of a way to prevent this from happening... What happens when a person types the name in reverse ex: Chris Ruth = ChrRut... I am guessing FM will not catch this. Any thoughts?

Joseph

It sounds like you're attempting to build a key field out of the name. This is generally a bad idea to use names or derivation of names as IDs. Names frequently change, or as you pointed out, names might be spelled differently on different occasions. There is an additional problem that will eventually come up; the same name for different people will result in duplicate IDs.

In most cases it is better to use an auto-entered serial number for an ID (or a date/time derived ID.) This usually means users need to select or find the correct name in order to get the ID for an existing record. Though it may be more work, this results in truely unique IDs, and ensures the integrity of the relationships based on that field.

  • Author

Well I thnak you, B/C I was sitting here think of the same thing... The problem is I am not sure the best way do my login sheet.

Idea one: Make a pull Menu the I can select the names from, if I do not find the name on the list then I would have to add a new record.

Idea Two: Make the New button a dual kinda thing -- a little fuzzy, I am thinking like when i start to type in the name the field would auto complete itself if the name was in the data base if not nothing would show up.... Since I have two fields First name and Last name I will have to combine them into one field so this works.... Does that make any sense to anybody who really knows how to do this?

Joseph

Do a search for clairvoyance on this site for some ideas that may work for you.

  • Author

lol, THANKS

Joseph

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.