As far as I know, you can't add the Done button on the keyboard part; you'd have add a inputAccessoryView to the UITextField or UITextView (if that's what you're using). Check the documentation for more info. Edit: Check this question for an example on how to do that. Edit 2:...
If you only specify "type=number" it will display keypad on iPhone like: And if you specify pattern like <input type="number" pattern="\d*"/> or <input type="number" pattern="[0-9]*" />, then keypad on iPhone will be like : Still it cannot display dot(.), currently there is no pattern to handle such case. So you...