Re: How to force a control to validate ?
Re: How to force a control to validate ?
- Subject: Re: How to force a control to validate ?
- From: mmalc crawford <email@hidden>
- Date: Tue, 14 Aug 2007 10:22:01 -0700
On Aug 14, 2007, at 10:09 AM, Eric MORAND wrote:
Is there a way to force a control to validate its content ?
I have a dialog sheet with some text fields, bound to a controller.
I also have an "OK" button that close the sheet. I want that
pressing the "OK" button validate the text fields and close the
sheet only if there are no validation errors.
What validation?
Are you using bindings? (If so, is there any reason you're not
validating input immediately?)
Are you using Core Data (this may add a further validation constraint)?
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden