Editor - Ensuring unique values on "New" and "Edit" screens/forms.
Editor - Ensuring unique values on "New" and "Edit" screens/forms.
I'm very new to editor and datatables, but have successfully got a working screen to maintain a list of Statuses, just 1 column - (field name called Status). Adding, deleting, etc is working fine...
What I need to do is stop/prevent someone entering the same status twice... basically ensure the list is unique and through the "New" & "Edit" buttons - prevent it from being saved back to the MSSQL backend database.
ideally also check when they click on the cell and edit it there - but that's a lot of hoping
Again thank you in advance for any help you can give me.
Answers
Sorry, jumped the gun - I found the answer 20 seconds after posting - sorry. The solution was to use the "unique" validator:
Thanks for posting back. Great to hear you've found the answer.
Allan