Change keyboard type for html textarea on iPad

I am writing a web application for the iPad. I know that it is possible to change the type of keyboard displayed when selecting the html input field using:

Text: <input type="text" /> Telephone: <input type="tel" /> URL: <input type="url" /> Email: <input type="email" /> Zip Code: <input type="text" pattern="[0-9]*" /> 

the problem is that I have to use textarea instead of input . Is it possible to get the same result?

If not: is there a way to change the keyboard label for the ENTER key. Right now the default shortcut is β€œReturn”, and I would like to have β€œSubmit” (since this is a chat application).

Many thanks!

+8
input ios forms keyboard textarea
source share
2 answers

If it's plain html / css / javascript. It's impossible

+7
source share

if you use <input title="Search"> , the "enter" key is replaced by the "search" button, I could not find a list of all the different combinations, but I'm sure you will like it,
Note. The input must be inside the form element for this to work.

+2
source share

All Articles