Keyboard not opening when I am trying to shift to next input field through script
Hi
I have 6 input fields accepting one character each. I want to open native keyboard once in beginning and close in the end after character is entered in all input fields. Currently, when I enter input in the field keyboard is closed and i have to click on next field to get keyboard. All I want to do is after i enter a char in one field it should take it to next field automatically without closing keyboard (or if it closes it should open again without me manually clicking it). Can any one please help me in how can I take this ahead?
private void start_input()
{
input.shouldHideMobileInput = true;
se = new InputField.OnChangeEvent ();
se.AddListener (SubmitInput);
input.onValueChanged = se;
}
private void SubmitInput(string arg0)
{
enteredCode [code_number] = arg0;
code_number++;
if (code_number < 6) {
input = uniqueCodes[code_number].GetComponent<InputField> ();
input.Select ();
start_input ();
}
}
Your answer
Follow this Question
Related Questions
InputField keyboard hide suggestion 0 Answers
Input keys not working ! please help me,Can't use input keys ! please help me ! 0 Answers
Handling Multiple U.I. Input Fields 0 Answers
Is there a way for inputfields to follow keyboard when i select them ? 0 Answers
How to disable native input field from Android TouchScreenKeyboard. 0 Answers