Author Topic: NGUI UIInput mobile keyboard  (Read 5913 times)

mustafa

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
NGUI UIInput mobile keyboard
« on: November 18, 2013, 01:03:32 AM »
Is there a way using NGUI UIInput mobile keyboard to stay until the user has entered all the input fields. Like user do not have to tab key each time when entering information.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI UIInput mobile keyboard
« Reply #1 on: November 18, 2013, 01:26:45 AM »
Do you mean prevent the user from selecting the next input field if the previous one is not filled out? You can add logic for that in a script attached to your UIInput, listening for the OnSelect event. If it gets OnSelect(true), and some previous value hasn't been filled out, select the previous input instead.

mustafa

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: NGUI UIInput mobile keyboard
« Reply #2 on: November 18, 2013, 01:38:10 AM »
I am begginner in unity... thanks for reply
I have a registration page, I am inputting values in all fields of my page, and I am making application for android. On android native keyboard I have button "Next". Upon pressing this next button I want to navigate from field to field.

Currently I have to hide keyboard to move to the next field for its input. Which is not correct way.

Please suggest solution

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI UIInput mobile keyboard
« Reply #3 on: November 18, 2013, 11:01:43 AM »
Ah, I see. Looking at Unity's docs I don't see anything mentioning what happens when a "Next" button is pressed on a mobile keyboard. Hmm...

schneidb

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 2
  • Posts: 24
    • View Profile
Re: NGUI UIInput mobile keyboard
« Reply #4 on: March 03, 2014, 04:05:49 PM »
Mustafa: did you ever find a solution?  I have not.  Unity's MobileKeyboard on iOS doesn't provide a "Next" button at all.  I asked about it on answers and got no response.