Re: stopping someone from tabbing past a certain text field

Christiaan Hofman <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Feb 4, 2010, at 18:22, Chad Leigh -- ObjectWerks Inc wrote:

> 
> 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.
> 

Then you disagree with most, and frustrate your users unnecessarily. For instance, think of someone who wants to fill the second field first and the first field second. That's the user's choice, you shouldn't force him, that's rude.

Christiaan

> 
>> 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
> 
> _______________________________________________
> MacOSX-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.