Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to Force 'a-z' keyboard (Andorid)

Discussion in 'Editor & General Support' started by okkal11, May 24, 2016.

  1. okkal11

    okkal11

    Joined:
    Jul 15, 2013
    Posts:
    16
    In an input field, how do I make sure that the keyboard that pops up is a 'western' style keyboard (a-z) instead of Arabic/Chinese ect.
    I have a database where the name will be transferred into, and if these are Arabic it F***s up the code, so I need to force user to only be able to enter a-z characters.
    is this possible at all, or can this only be changed by the android user?

    Thanks
     
  2. okkal11

    okkal11

    Joined:
    Jul 15, 2013
    Posts:
    16
    Anyone?
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,555
  4. okkal11

    okkal11

    Joined:
    Jul 15, 2013
    Posts:
    16
    I guess i could set it to Alphanumeric, but that would allow numbers in usernames :s
    Will that change the keyboard type being shown on users phone tho?

    I have no way of testing this :s
     
    Last edited: May 25, 2016
  5. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    If you developing for a mobile platform you should get a device for that platform...
     
  6. okkal11

    okkal11

    Joined:
    Jul 15, 2013
    Posts:
    16
    Brilliant answer thank you so much for your wisdom, please share more nuggets of cleveresness!