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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy