Need help for data validation

2011-08-16 Thread Andre Masse
Hi, I need to validate input when the user enters data on a particular cell (caseNumber) in a table view. Not using coredata but data is stored in a Postgresql database. Here's what I need to ensure: 1- only digits 2- dont already exists in the database 3- dont already exists in the

Re: Need help for data validation

2011-08-16 Thread Andre Masse
Answering my own question: Read the documentation on: - (BOOL)control:(NSControl *)control textShouldEndEditing:(NSText *)fieldEditor Cheers, Andre Masse On 16/08/2011, at 12:21 , Andre Masse wrote: Hi, I need to validate input when the user enters data on a particular cell