1

I'm trying to get access to the mobile keyboard in a cordova app so that while the user is signing up, they can just jump to the next input on the keyboard. For example, on iOS native apps, you have access to change the "return" button to "next" or "go."

I've looked at the Ionic-plugin-keyboard but as far as I can see it doesn't allow you to do what I'm trying to do. Is there a way I can change those buttons with js/is there another plugin I can do that with?

Kody R.
  • 2,430
  • 5
  • 22
  • 42
  • 1
    I'm assuming this is still the case: [link 1](http://stackoverflow.com/questions/23470439/replace-go-button-on-soft-keyboard-with-next-in-phonegap) [link 2](http://stackoverflow.com/questions/23823308/how-to-get-next-button-on-android-softkeyboard-in-place-of-go-button-in-phonegap). That said, I have seen what appears to be a "next" button before, so these may be outdated now. – Matthew Spence Feb 15 '16 at 17:29
  • @TheMintyMate the second link was the correct direction to head in, thanks! – Kody R. Feb 15 '16 at 18:38
  • No problem! :-) I'm going to write a proper answer, to complete this question. – Matthew Spence Feb 15 '16 at 18:44

1 Answers1

0

Here are some potential resources for keyboard control: link 1 link 2 link 3

In summary: On most devices it show a "next" button when adding the attribute tabindex to each input, incrementing in order. Otherwise it is generally suggested to set an input as the browser's default focus, or to detect when the user clicks "ok" and move the focus after that event (key code for "ok"/"enter" is 13).

Community
  • 1
  • 1
Matthew Spence
  • 986
  • 2
  • 9
  • 27