John Murphy (johncmurp...@yahoo.com) on 2009-01-31 4:19 PM said: >On many applications, when you enter in a serial number, there are >several text fields in a row, and as the user enters in the serial >number the cursor automatically jumps to the next text field at the >appropriate time. >I am assuming that this is a long string being displayed across several >text fields. How is this done?
Personally, I would not mimic that UI. It introduces an inconsistent behaviour to a very standard control. What if I mistype a letter and the app jumps to the next field? Will the delete key jump back to the previous field? What if the user does not expect this jumping and presses tab? Then he is one field too far. I'd suggest just letting the user type the serial number in one big field. You can then disgard any invalid characters, like '-', and so it doesn't even matter if the user enters dashes or not. Also, I'd suggest you exclude '0', 'O', '1', 'i', and 'l' from your serial numbers. Sean -- "When the winds of change are blowing, some people are building shelters and others are building windmills" - Chinese proverb _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com