01-28-2010 11:18 AM
I need to create an edit field for entering names (first name, last name, etc.). I'd like the field to behave similar to how such fields behave when entering a new contact in the native Contacts application: the first character is automatically capitalized, however, if the user deletes the character and, without waiting too long, inputs another letter, the newly entered first character is not capitalized.
I could create such a field myself by creating a custom TextFilter, however, I simply cannot believe such a field is not readily available. Does anybody know if such field is readily available or can at least be easily created by small amount of customization of an existing class?
Solved! Go to Solution.
01-28-2010 12:27 PM
Thanks for the prompt reply! I'll give AutoTextEditField a try tomorrow morning and update the thread regarding the results.
01-29-2010 08:46 AM
Thank you very much, RexDoug! AutoTextEditField is indeed exactly what I was looking for. To get the behavior like in the Contacts application, I constructed the field with the following flags: EditField.NO_NEWLINE | Field.EDITABLE | AutoTextEditField.NON_SPELLCHECKABLE.