on a textinput please add ability to disable the first letter capitalization.
Thanks!
— related function
https://developer.anscamobile.com/node/2909
[import]uid: 6317 topic_id: 17295 reply_id: 317295[/import]
on a textinput please add ability to disable the first letter capitalization.
Thanks!
— related function
https://developer.anscamobile.com/node/2909
[import]uid: 6317 topic_id: 17295 reply_id: 317295[/import]
have you tried to change the text entered to lowercase despite what is entered.
cheers,
? [import]uid: 3826 topic_id: 17295 reply_id: 65371[/import]
issue is that the items entered are case sensitive, so some letters may actually need to be capitalized [import]uid: 6317 topic_id: 17295 reply_id: 65372[/import]
I think you mentioned that it was an email address, that woul dnot require capitals.
and if you want just the first character to be non uppercase then just change that using sub()
cheers,
? [import]uid: 3826 topic_id: 17295 reply_id: 65374[/import]
absolutely, however it’s an email and/or username field and the username is case sensitive (the client has an existing API infrastructure in place based on their website). If i force the first character to always be lowercase assuming we want to ‘fix’ it, then that means a user would never be able to enter a first letter uppercase. if they happen to have a first letter uppercase in their username they would never be able to login [import]uid: 6317 topic_id: 17295 reply_id: 65378[/import]
make up your mind on what you actually want… Another way is to format the text like a phone number, where you might just neter the numbers, but you get the end result as 1(800) 5343-2268
I am not sure if you are after a solution…
cheers,
? [import]uid: 3826 topic_id: 17295 reply_id: 65379[/import]