Pergunta

We are developing a hybrid application using IBM Worklight 6.1.

For iOS, how can we display the keyboard with a "Go" button, instead of "return" button?

Foi útil?

Solução

See here: Go vs. return button in iOS keyboard for HTML input forms

The 'Go' button is only shown, if the <input> tag is inside a <form> tag. So, if you access your form elements afterwards with i.e. JavaScript, you can omit <form> tags.

'Go' button:

<form>
   <input type="text"></input>
</form>

iOS 7.1 screenshot of keyboard

return button:

<input type="text"></input>

iOS 7.1 screenshot of keyboard

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top