Create Custom IDs

I want to create an ID that contains the area code the user is from, user selects their area code in the app sheet along with sequential numbers. So as an entry is submitted the numbers increase by 1 and the area code changes based on what the user has selected.
For example:

MS, AM, WW are area codes that are based on the user selection
MS0001
AM0002
MS0003
WW0004
WW0005

Please let me know how this can be done

0 1 181
1 REPLY 1

First of all, I would like to say that maybe this is not needed at all.
Also, ID/Keys are better just the random UNIQUEID() to make sure there arenโ€™t any problems in the future since it needs to be unique.
You could have another field in your table that serve the purpose of this โ€œshowable IDโ€ while not being the key for the row.
Anyway, if you want to do it agains all advice:

Top Labels in this Space