Hi community.
I’m playing with a game design screen where a user can enter multiple countries with attributes. I’ve decided against using index IDs, as I want this to be moddable using CSV or XML. The interface is a panel of cloned panels with input fields (basically a grid list) so when a user enters a country or abbreviation that already exists, they need to be told “No”.
Great Britain, GB, Constitutional Monarchy
United States of America, USA, Democratic Republic
Canada, Can, Constitutional Monarchy; etc
I have my UI detecting duplicate values by searching the canonical data, but I don’t know what to do about it when I find one. Things I’ve thought about doing:
-
Locking the user to the specific input field unit it’s corrected
-
Resetting the input field to the original value (annoying if it’s a mistype and only needs a character change)
-
Full-screen modal window to require re-entry and validation (I’ll have to learn this skill at some point anyway)
-
Letting it go, but not allowing saving till its fixed (this has risks, as the canon data may be corrupted if I do it wrong… Or at all)
-
Using a primary key index (and off-screen index text component) to track duplicates for later correction (I just don’t want too)
-
Using a primary key index with a GUID to track duplicates for later correction (Actually this sounds kinda cool, but is probably overkill)
I’m sure there’s other ways to alert on duplicate values, so I’ll throw it open to ideas
