Re: stopping someone from tabbing past a certain text field
Chad Leigh -- ObjectWerks Inc <chad+macosx-AU1NHruoRJaEK/[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Feb 4, 2010, at 9:19 AM, Joar Wingfors wrote: > > On 4 feb 2010, at 02.21, Chad Leigh -- ObjectWerks Inc wrote: > >> but that only gets called if they start to edit it by typing something. Tabbing into and then out of does not trigger the edit so this (and other edit related delegate methods) do not get called. >> >> What is the best way to be able to check as someone tabs through that they have edited it. >> >> I could of course wait until they hit the accept button but I would like to provide feedback as they work their way through the form. > > > For the user it's typically *very* frustrating to be prevented from leaving fields blank - I'd advise against doing that. Well, on a product registration page where 2 of the fields must be filled out, I'd rather they knew it before they hit the submit button and are told. > You should be able to provide continuous feedback by implementing the "-controlTextDidChange:" delegate method. I'll see what I can come up with using that. Thanks Chad > > j o a r > > > _______________________________________________ > MacOSX-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/macosx-dev