I have a TextField in a registration form that is for entering a full name. I would like each letter of the name to be upper case (each word is part of the name).
I tried using keyboardType: Ti.UI.KEYBOARD_TYPE_NAMEPHONE_PAD but that doesn't always work - it works if iPhone auto correct the sur-name that was entered.
I remember such property for upper-casing each word existed... what keyboardType should I use?
1 Answer
You can use the property autocapitalization :
like this :
autocapitalization : Titanium.UI.TEXT_AUTOCAPITALIZATION_WORDS 1