6

So I have this Phonegap application built using Sencha Touch. I have a textarea control for users to type in some information. When the box gets focus it brings up the virtual keyboard. But the virtual keyboard has next previous and done buttons on it.

How to I remove the next and previous buttons? They don't seem to do anything anyway.

enter image description here

peterh
  • 11,875
  • 18
  • 85
  • 108
Chris Lees
  • 2,140
  • 3
  • 21
  • 41

3 Answers3

7

There is a way!! This guy has done it by making modifications in the AppDelegate.m. You can find description at this link under bonus code section. You can also refer the code for same developed by Kerri Shotts Code Here

Now that the done button is gone i am trying to figure out how to make the keyboard disappear. This will be everybody's next step.

Community
  • 1
  • 1
Rahul Kahale
  • 519
  • 6
  • 19
2

The previous next are for tabbing to previous or next fields on the page. It has a name and is called "Form Assistant", I think it's default to Safari, and PhoneGap essentially is a wrapper around Safari.

AFAIK , there is no way to remove it. Of course, the previous next buttons get disabled, if there is only one field as it's seems to be in your case

EDIT: As from the new comments, it seems there's a way in the new PhoneGap versions. FYI

Satish
  • 6,457
  • 8
  • 43
  • 63
  • I was kind of worried that was the case. Doing a quick search for "Form Assistant" showed people with the same issue. Oh well, thanks for your help! – Chris Lees May 20 '11 at 15:42
  • Check the answer given by [Rahul Kahale](http://stackoverflow.com/questions/6073846/how-do-you-remove-the-next-and-prev-buttons-from-virtual-keyboard-in-sencha-touc#10468840) – Ranganadh Paramkusam Sep 19 '12 at 06:08
  • 1
    there is a way to do it now with phonegap http://stackoverflow.com/questions/8718411/how-do-i-install-this-script-into-phonegap-for-ios – Jonathan Dec 05 '12 at 12:55
1

you can try this Plugin Created By don. to show/hide keyboard toolbar.

It worked like charm from my side.

Moussawi7
  • 12,359
  • 5
  • 37
  • 50