Page 1 of 1

Forcing lowercase for username and password fields

Posted: Sun Mar 25, 2012 1:33 am
by voua

When working with some android phones, the first letters of common names are sometimes capitalized automatically. So the logic would be to force the username and password entered to a lowercase.

So far, I'm thinking I need to use the tolowercase function but am having problems with the syntax. Any ideas


Forcing lowercase for username and password fields

Posted: Sun Mar 25, 2012 4:57 am
by maxkatz

When you map UI input to service input, run this JavaScript:

return value.toLowerCase();

http://help.gotiggr.com/documentation...


Forcing lowercase for username and password fields

Posted: Sun Mar 25, 2012 8:27 am
by voua

Works perfectly, thanks for your help.